diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-06-28 10:33:37 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-06-28 10:33:37 +0000 |
commit | f7a9e7138f04b54ed769d3f86a6aece08f442ce7 (patch) | |
tree | 9ce37e2cfbcb899852f5bd44e444c701e38e243e | |
parent | d20079f439a5b7180cfae8726c409fae436d1ae7 (diff) | |
parent | 5545d4dc8761d393f39acfd8c22966f2fe394d95 (diff) | |
download | gitlab-ce-f7a9e7138f04b54ed769d3f86a6aece08f442ce7.tar.gz |
Merge branch 'fix-duplicate-shared-examples' into 'master'
Move shared examples to their correct location
See merge request !12488
-rw-r--r-- | spec/support/shared_examples/features/protected_branches_access_control_ce.rb (renamed from spec/support/protected_branches/access_control_ce_shared_examples.rb) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/protected_branches/access_control_ce_shared_examples.rb b/spec/support/shared_examples/features/protected_branches_access_control_ce.rb index 287d6bb13c3..b6341127a76 100644 --- a/spec/support/protected_branches/access_control_ce_shared_examples.rb +++ b/spec/support/shared_examples/features/protected_branches_access_control_ce.rb @@ -1,4 +1,4 @@ -RSpec.shared_examples "protected branches > access control > CE" do +shared_examples "protected branches > access control > CE" do ProtectedBranch::PushAccessLevel.human_access_levels.each do |(access_type_id, access_type_name)| it "allows creating protected branches that #{access_type_name} can push to" do visit namespace_project_protected_branches_path(project.namespace, project) |