Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @user = Factory(:user)
- @user.password = "asdfasdf"
- @user.password_confirmation = "asdfasdf"
- visit("/users/login")
- fill_in("user[user_name]", :with => @user.user_name)
- fill_in("user[password]", :with => @user.password)
- click_button("user_submit")
Add Comment
Please, Sign In to add comment