diff --git a/spec/support/request/authentication_helper.rb b/spec/support/request/authentication_helper.rb index 813121f49a..4a2b73cb7a 100644 --- a/spec/support/request/authentication_helper.rb +++ b/spec/support/request/authentication_helper.rb @@ -32,5 +32,6 @@ module AuthenticationHelper def expect_logged_in # Ensure page has been reloaded after submitting login form expect(page).to_not have_selector ".menu #login-link" + expect(page).to_not have_content "Login" end end