Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Given /I am logged in as a user/ do
- @current_user = User.create!(
- :name => 'quentin',
- :password => 'monkey'
- )
- visits "/login"
- fills_in("login", :with => "quentin")
- fills_in("password", :with => "monkey")
- click("Log in")
- end
Add Comment
Please, Sign In to add comment