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-28 15:40:52 +0300
committerShinya Maeda <shinya@gitlab.com>2017-09-03 17:49:10 +0300
commit3875983205fd3cdbdc93f18b118deaf098d75af1 (patch)
tree72d9f2e1099555d0766919df79d46fcbf1275148 /spec/factories/ci
parent4b0e31ba64118011ffc29c31bc771fa2568cd270 (diff)
Impprove spec by godfat suggestions
Diffstat (limited to 'spec/factories/ci')
-rw-r--r--spec/factories/ci/runners.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/factories/ci/runners.rb b/spec/factories/ci/runners.rb
index 3a7da2e47d0..e563a14ce08 100644
--- a/spec/factories/ci/runners.rb
+++ b/spec/factories/ci/runners.rb
@@ -23,11 +23,11 @@ FactoryGirl.define do
end
trait :protected do
- access_level Ci::Runner.access_levels['protected_']
+ access_level 'protected_'
end
trait :unprotected do
- access_level Ci::Runner.access_levels['unprotected']
+ access_level 'unprotected'
end
end
end