diff options
author | Stan Hu <stanhu@gmail.com> | 2017-08-03 08:13:46 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-08-03 08:13:46 +0300 |
commit | fa68b81b8ead3c68a278729bfbcb621a9c6197e3 (patch) | |
tree | 233a12e59e4bc4a80ef9626bad0a46f8776895c5 /spec/features/profiles | |
parent | e8aabb07edfb215a9823d236c69d5eaa1348a0fa (diff) |
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')
-rw-r--r-- | spec/features/profiles/user_visits_notifications_tab_spec.rb | 2 |
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') |