test/integration/admin_users_test.rb in lalala-4.0.0.dev.181 vs test/integration/admin_users_test.rb in lalala-4.0.0.dev.183

- old
+ new

@@ -25,19 +25,6 @@ assert page.has_text?('manager@example.com') assert page.has_text?('Mr. Manager') end -private - - def login_as_admin! - AdminUser.create! name: 'Admin', email: 'admin@example.com', password: 'password', password_confirmation: 'password' - - visit('/lalala') - assert_equal(new_admin_user_session_path, current_path) - fill_in('Email', with: 'admin@example.com') - fill_in('Password', with: 'password') - click_on('Login') - assert_equal('/lalala', current_path) - end - end