Commit f7a9e713 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'fix-duplicate-shared-examples' into 'master'

Move shared examples to their correct location

See merge request !12488
parents d20079f4 5545d4dc
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment