Created
April 15, 2012 16:52
-
-
Save krisf/2393818 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
user = Factory(:user, :role => "admin") | |
visit new_user_session_path | |
fill_in "user_email", :with => user.email | |
fill_in "user_password", :with => "foobar" | |
click_button "Sign" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment