Commit 85b915c3 authored by Mike Greiling's avatar Mike Greiling

fix click trigger method

parent 9aed01f0
...@@ -71,7 +71,7 @@ shared_examples 'discussion comments' do |resource_name| ...@@ -71,7 +71,7 @@ shared_examples 'discussion comments' do |resource_name|
expect(page).not_to have_selector menu_selector expect(page).not_to have_selector menu_selector
find(toggle_selector).click find(toggle_selector).click
find('body').trigger 'click' find('body').click
expect(page).not_to have_selector menu_selector expect(page).not_to have_selector menu_selector
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment