summaryrefslogtreecommitdiff
path: root/spec/features/profiles/user_visits_notifications_tab_spec.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-08-02 22:13:46 -0700
committerStan Hu <stanhu@gmail.com>2017-08-02 22:13:46 -0700
commitfa68b81b8ead3c68a278729bfbcb621a9c6197e3 (patch)
tree233a12e59e4bc4a80ef9626bad0a46f8776895c5 /spec/features/profiles/user_visits_notifications_tab_spec.rb
parente8aabb07edfb215a9823d236c69d5eaa1348a0fa (diff)
downloadgitlab-ce-fa68b81b8ead3c68a278729bfbcb621a9c6197e3.tar.gz
Change trigger('click') -> click for Chrome
Done via: ``` git grep --name-only trigger\(\'click\'\) | xargs sed -i -e "s/trigger('click')/click/g" ```
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 e98cec79d87..c2c17df67fb 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: true 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')