Skip to content

Instantly share code, notes, and snippets.

@mpen
Created August 20, 2009 02:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpen/170778 to your computer and use it in GitHub Desktop.
Save mpen/170778 to your computer and use it in GitHub Desktop.
Rails test for Restful Authentication
describe ... do
include AuthenticatedTestHelper
fixtures :users
before(:each) do
login_as :user_name
end
...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment