diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2017-10-06 18:54:04 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-10-06 18:54:22 -0500 |
commit | 82237c688faf2633d4a1a349d9462f0be6754a12 (patch) | |
tree | 7a2f2b32cfbfbc49804a5f894ae5e717049c9552 | |
parent | 1878d790d30b814e48cbad29bb655638e2e34bf6 (diff) | |
download | gitlab-ce-82237c688faf2633d4a1a349d9462f0be6754a12.tar.gz |
Fix rspec failureissue_35873
-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 81cb94ab8c4..9f05cabf7ae 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').click + find('body').trigger 'click' expect(page).not_to have_selector menu_selector end |