diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-10-10 23:43:05 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-10-10 23:43:05 +0300 |
commit | 85b915c39b8327afdfec5444c732f1b119081e0e (patch) | |
tree | f47a285072ef2b88eab3c0869662631452000bff /spec/support/features | |
parent | 9aed01f0e9422eeb010f991f75f53849be500e6e (diff) |
fix click trigger method
Diffstat (limited to 'spec/support/features')
-rw-r--r-- | spec/support/features/discussion_comments_shared_example.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/features/discussion_comments_shared_example.rb b/spec/support/features/discussion_comments_shared_example.rb index e3988b24469..b65b1300769 100644 --- a/spec/support/features/discussion_comments_shared_example.rb +++ b/spec/support/features/discussion_comments_shared_example.rb @@ -71,7 +71,7 @@ shared_examples 'discussion comments' do |resource_name| expect(page).not_to have_selector menu_selector find(toggle_selector).click - find('body').trigger 'click' + find('body').click expect(page).not_to have_selector menu_selector end |