spec/features/sign_in_spec.rb in faalis-2.0.0.rc2 vs spec/features/sign_in_spec.rb in faalis-2.0.0.rc3

- old
+ new

@@ -14,21 +14,21 @@ scenario 'is up and running' do visit @faalis.user_session_path expect(page).to have_text('Sign In') - expect(page).to have_css('.form-box') + expect(page).to have_css('.login-box-msg') expect(page).to have_selector('#user_email') expect(page).to have_selector('#user_password') end scenario 'allow user to successfully log in using valid credentials' do visit @faalis.dashboard_index_path - fill_in 'email', with: @admin.email - fill_in 'user[password]', with: '123123123' + fill_in 'user_email', with: @admin.email + fill_in 'user_password', with: '123123123' - click_button 'Sign in' + click_button 'sign_in' expect(page).to have_text('Dashboard') expect(page).not_to have_text('Sign In') expect(current_path).to eq(@faalis.dashboard_index_path)