diff options
Diffstat (limited to 'spec/features/users/logout_spec.rb')
-rw-r--r-- | spec/features/users/logout_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/users/logout_spec.rb b/spec/features/users/logout_spec.rb index 3129eb5e6f3..596f0dd5a94 100644 --- a/spec/features/users/logout_spec.rb +++ b/spec/features/users/logout_spec.rb @@ -13,7 +13,7 @@ RSpec.describe 'Logout/Sign out', :js do it 'sign out redirects to sign in page' do gitlab_sign_out - expect(current_path).to eq new_user_session_path + expect(page).to have_current_path new_user_session_path, ignore_query: true end it 'sign out does not show signed out flash notice' do @@ -30,7 +30,7 @@ RSpec.describe 'Logout/Sign out', :js do it 'sign out redirects to sign in page' do gitlab_sign_out - expect(current_path).to eq new_user_session_path + expect(page).to have_current_path new_user_session_path, ignore_query: true end end end |