summaryrefslogtreecommitdiff
path: root/spec/features/profiles/user_visits_profile_preferences_page_spec.rb
diff options
context:
space:
mode:
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.rb2
1 files changed, 1 insertions, 1 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 924ee0e4174..90d6841af0e 100644
--- a/spec/features/profiles/user_visits_profile_preferences_page_spec.rb
+++ b/spec/features/profiles/user_visits_profile_preferences_page_spec.rb
@@ -53,7 +53,7 @@ describe 'User visits the profile preferences page' do
expect(page).to have_content("You don't have starred projects yet")
expect(page.current_path).to eq starred_dashboard_projects_path
- find('.shortcuts-activity').trigger('click')
+ 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