diff options
Diffstat (limited to 'spec/features/profiles/password_spec.rb')
-rw-r--r-- | spec/features/profiles/password_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/features/profiles/password_spec.rb b/spec/features/profiles/password_spec.rb index c0c573d2f20..05e492e7021 100644 --- a/spec/features/profiles/password_spec.rb +++ b/spec/features/profiles/password_spec.rb @@ -86,10 +86,11 @@ RSpec.describe 'Profile > Password', feature_category: :user_profile do Rails.application.reload_routes! end - it 'renders 404' do + it 'renders 404', :js do visit edit_profile_password_path - expect(page).to have_gitlab_http_status(:not_found) + expect(page).to have_title('Not Found') + expect(page).to have_content('Page Not Found') end end end |