summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-06-27 18:34:34 +0200
committerRémy Coutable <remy@rymai.me>2017-06-27 18:34:34 +0200
commit5545d4dc8761d393f39acfd8c22966f2fe394d95 (patch)
tree0e5cc06491f0814cf3134535028b236bf1995cf6
parent92f87f6d8bdd4424334131132394df343c006a63 (diff)
downloadgitlab-ce-fix-duplicate-shared-examples.tar.gz
Move share examples to their correct locationfix-duplicate-shared-examples
Signed-off-by: Rémy Coutable <remy@rymai.me>
-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)