Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Edwards-Jones <jedwardsjones@gitlab.com>2017-04-04 05:37:22 +0300
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-04-04 05:38:58 +0300
commit07d7d8e65905a39164b63f55eccdcea8f10f5d14 (patch)
tree4fc627e0256a787ab80f4483b3d6e2442c26a619 /spec/lib/gitlab/checks
parentf9e849c076efb3162a3d951d8aae2e7be3e574f4 (diff)
Renamed ProtectedTag push_access_levels to create_access_levels
Diffstat (limited to 'spec/lib/gitlab/checks')
-rw-r--r--spec/lib/gitlab/checks/change_access_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/checks/change_access_spec.rb b/spec/lib/gitlab/checks/change_access_spec.rb
index afc29baa7e6..959ae02c222 100644
--- a/spec/lib/gitlab/checks/change_access_spec.rb
+++ b/spec/lib/gitlab/checks/change_access_spec.rb
@@ -86,7 +86,7 @@ describe Gitlab::Checks::ChangeAccess, lib: true do
end
context 'when user has access' do
- let!(:protected_tag) { create(:protected_tag, :developers_can_push, project: project, name: 'v*') }
+ let!(:protected_tag) { create(:protected_tag, :developers_can_create, project: project, name: 'v*') }
it 'allows tag creation' do
expect(subject.status).to be(true)