Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- When /^I logged as user "([^\"]*)" and with password "([^\"]*)"$/ do |username, password|
- visit '/entrar'
- fill_in 'user_session_email', :with => username
- fill_in 'user_session_password', :with => password
- click_button "Entrar"
- end
Add Comment
Please, Sign In to add comment