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:
authorShinya Maeda <shinya@gitlab.com>2017-08-29 09:56:03 +0300
committerShinya Maeda <shinya@gitlab.com>2017-09-03 17:49:10 +0300
commit1024718e9fddbb0d61d3f64f44303964641fcdd8 (patch)
tree3eef4777a58c9d3e798827ca39e3a5fa0602088c /spec/factories/ci
parent3875983205fd3cdbdc93f18b118deaf098d75af1 (diff)
Refactor access_level to not_protected and ref_protected
Diffstat (limited to 'spec/factories/ci')
-rw-r--r--spec/factories/ci/runners.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/factories/ci/runners.rb b/spec/factories/ci/runners.rb
index e563a14ce08..249d8bde5a1 100644
--- a/spec/factories/ci/runners.rb
+++ b/spec/factories/ci/runners.rb
@@ -22,12 +22,12 @@ FactoryGirl.define do
active false
end
- trait :protected do
- access_level 'protected_'
+ trait :ref_protected do
+ access_level 'ref_protected'
end
- trait :unprotected do
- access_level 'unprotected'
+ trait :not_protected do
+ access_level 'not_protected'
end
end
end