Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- it 'registered users should be able to sign in', :js => true do
- user = Factory(:user)
- puts user.email
- puts user.password
- visit new_user_session_path
- fill_in 'user[email]', :with => user.email
- fill_in 'user[password]', :with => user.password
- click_link 'Submit'
- end
Add Comment
Please, Sign In to add comment