diff --git a/spec/features/users_auth_spec.rb b/spec/features/users_auth_spec.rb index 573e34a27..c842e73bc 100644 --- a/spec/features/users_auth_spec.rb +++ b/spec/features/users_auth_spec.rb @@ -311,7 +311,7 @@ feature 'Users' do login_as(admin.user) visit root_path - expect(page).to_not have_content "Your password has expired" + expect(page).to_not have_content "Your password is expired" end scenario 'Sign in, user with password expired' do @@ -319,7 +319,7 @@ feature 'Users' do login_as(user) visit root_path - expect(page).to_not have_content "Your password has expired" + expect(page).to_not have_content "Your password is expired" end end