From 2d58626a33bc0d4e78eaf0c25965d18a6239fa3b Mon Sep 17 00:00:00 2001 From: Jose Ivan Vargas Date: Tue, 12 Sep 2017 16:43:28 -0500 Subject: Changed helper methods to use the click method --- spec/support/helpers/note_interaction_helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/support/helpers') diff --git a/spec/support/helpers/note_interaction_helpers.rb b/spec/support/helpers/note_interaction_helpers.rb index 86008698692..79a0aa174b1 100644 --- a/spec/support/helpers/note_interaction_helpers.rb +++ b/spec/support/helpers/note_interaction_helpers.rb @@ -2,7 +2,7 @@ module NoteInteractionHelpers def open_more_actions_dropdown(note) note_element = find("#note_#{note.id}") - note_element.find('.more-actions-toggle').trigger('click') + note_element.find('.more-actions-toggle').click note_element.find('.more-actions .dropdown-menu li', match: :first) end end -- cgit v1.2.1