diff options
author | Stan Hu <stanhu@gmail.com> | 2017-04-28 19:49:45 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-04-28 19:49:45 -0700 |
commit | 66de4776aac09661eb7e7484a46f0643494e342c (patch) | |
tree | 67ba427bd23212e299c3cdbdb20607e521267e67 | |
parent | 6c94483890490141ce8f2b77b46788235ae1b2b6 (diff) | |
download | gitlab-ce-66de4776aac09661eb7e7484a46f0643494e342c.tar.gz |
Another change from .click -> .trigger('click') to make spec pass
-rw-r--r-- | spec/features/protected_branches/access_control_ce_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/protected_branches/access_control_ce_spec.rb b/spec/features/protected_branches/access_control_ce_spec.rb index eb3cea775da..d30e7947106 100644 --- a/spec/features/protected_branches/access_control_ce_spec.rb +++ b/spec/features/protected_branches/access_control_ce_spec.rb @@ -9,7 +9,7 @@ RSpec.shared_examples "protected branches > access control > CE" do allowed_to_push_button = find(".js-allowed-to-push") unless allowed_to_push_button.text == access_type_name - allowed_to_push_button.click + allowed_to_push_button.trigger('click') within(".dropdown.open .dropdown-menu") { click_on access_type_name } end end |