From 6c94483890490141ce8f2b77b46788235ae1b2b6 Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Fri, 28 Apr 2017 17:45:47 -0500 Subject: Change from .click -> .trigger('click') to make spec pass --- spec/features/protected_branches_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/features/protected_branches_spec.rb') diff --git a/spec/features/protected_branches_spec.rb b/spec/features/protected_branches_spec.rb index acc5641f930..fc9b293c393 100644 --- a/spec/features/protected_branches_spec.rb +++ b/spec/features/protected_branches_spec.rb @@ -8,7 +8,7 @@ feature 'Projected Branches', feature: true, js: true do before { login_as(user) } def set_protected_branch_name(branch_name) - find(".js-protected-branch-select").click + find(".js-protected-branch-select").trigger('click') find(".dropdown-input-field").set(branch_name) click_on("Create wildcard #{branch_name}") end -- cgit v1.2.1