summaryrefslogtreecommitdiff
path: root/spec/features/profiles/user_visits_notifications_tab_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/profiles/user_visits_notifications_tab_spec.rb')
-rw-r--r--spec/features/profiles/user_visits_notifications_tab_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/profiles/user_visits_notifications_tab_spec.rb b/spec/features/profiles/user_visits_notifications_tab_spec.rb
index 923ca8b1c80..df89918f17a 100644
--- a/spec/features/profiles/user_visits_notifications_tab_spec.rb
+++ b/spec/features/profiles/user_visits_notifications_tab_spec.rb
@@ -13,7 +13,7 @@ feature 'User visits the notifications tab', :js do
it 'changes the project notifications setting' do
expect(page).to have_content('Notifications')
- first('#notifications-button').trigger('click')
+ first('#notifications-button').click
click_link('On mention')
expect(page).to have_content('On mention')