a guest Aug 17th, 2018 1,199 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- Given /^I have a valid account$/ do
- @current_email = 'firstname.lastname@example.org'
- @current_password = 'candles'
- @current_user = FactoryGirl.create(:user, :email => @current_email, :password => @current_password)
- Then /^I should be able to login$/ do
- visit new_user_session_path
- click_button 'Sign in'
- page.should have_content 'Signed in'
RAW Paste Data