Created
August 20, 2009 02:23
-
-
Save mpen/170778 to your computer and use it in GitHub Desktop.
Rails test for Restful Authentication
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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