Another change from .click -> .trigger('click') to make spec pass

This commit is contained in:
Stan Hu 2017-04-28 19:49:45 -07:00
parent 6c94483890
commit 66de4776aa
1 changed files with 1 additions and 1 deletions

View File

@ -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