diff --git a/spec/features/account_spec.rb b/spec/features/account_spec.rb index 1902ede45..38e9f5c11 100644 --- a/spec/features/account_spec.rb +++ b/spec/features/account_spec.rb @@ -172,7 +172,7 @@ feature "Account" do login_through_form_as(@user) - expect(page).to have_content "Invalid login or password" + expect(page).to have_content "Invalid Email or username or password" end context "Recommendations" do diff --git a/spec/features/moderation/users_spec.rb b/spec/features/moderation/users_spec.rb index b2c6e37d9..3fd0255f7 100644 --- a/spec/features/moderation/users_spec.rb +++ b/spec/features/moderation/users_spec.rb @@ -46,7 +46,7 @@ feature "Moderate users" do fill_in "user_password", with: citizen.password click_button "Enter" - expect(page).to have_content "Invalid login or password" + expect(page).to have_content "Invalid Email or username or password" expect(page).to have_current_path(new_user_session_path) end diff --git a/spec/features/users_auth_spec.rb b/spec/features/users_auth_spec.rb index 040f64305..cffd8c453 100644 --- a/spec/features/users_auth_spec.rb +++ b/spec/features/users_auth_spec.rb @@ -88,7 +88,7 @@ feature "Users" do click_button "Enter" expect(page).not_to have_content "You have been signed in successfully." - expect(page).to have_content "Invalid login or password." + expect(page).to have_content "Invalid Email or username or password." fill_in "user_login", with: "venom@nyc.dev" fill_in "user_password", with: "symbiote"