diff --git a/spec/features/protected_branches_spec.rb b/spec/features/protected_branches_spec.rb index ebbbca5d2f4..3499460c84d 100644 --- a/spec/features/protected_branches_spec.rb +++ b/spec/features/protected_branches_spec.rb @@ -11,7 +11,7 @@ feature 'Projected Branches', feature: true, js: true do def set_protected_branch_name(branch_name) find(".js-protected-branch-select").click find(".dropdown-input-field").set(branch_name) - click_on "Create wildcard #{branch_name}" + click_on("Create wildcard #{branch_name}") end describe "explicit protected branches" do