diff options
Diffstat (limited to 'spec/features/profiles/user_visits_profile_preferences_page_spec.rb')
-rw-r--r-- | spec/features/profiles/user_visits_profile_preferences_page_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/profiles/user_visits_profile_preferences_page_spec.rb b/spec/features/profiles/user_visits_profile_preferences_page_spec.rb index da63f7c0f41..e19e29bf63a 100644 --- a/spec/features/profiles/user_visits_profile_preferences_page_spec.rb +++ b/spec/features/profiles/user_visits_profile_preferences_page_spec.rb @@ -55,12 +55,12 @@ RSpec.describe 'User visits the profile preferences page', :js do find('#logo').click expect(page).to have_content("You don't have starred projects yet") - expect(page.current_path).to eq starred_dashboard_projects_path + expect(page).to have_current_path starred_dashboard_projects_path, ignore_query: true find('.shortcuts-activity').click expect(page).not_to have_content("You don't have starred projects yet") - expect(page.current_path).to eq dashboard_projects_path + expect(page).to have_current_path dashboard_projects_path, ignore_query: true end end |