summaryrefslogtreecommitdiff
path: root/spec/factories/ci/runners.rb
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-08-31 18:28:29 +0900
committerShinya Maeda <shinya@gitlab.com>2017-09-03 23:49:10 +0900
commit07f7a01b4da02533c417fa636f004fedf3c4c661 (patch)
tree4437591a427c5e1edf9792dc5e89d4f1d11cfd92 /spec/factories/ci/runners.rb
parentd3bf01608013eac24764c1dacd51f8b841dd9bf1 (diff)
downloadgitlab-ce-07f7a01b4da02533c417fa636f004fedf3c4c661.tar.gz
Improve spec. Add validation for accel_level on runner.
Diffstat (limited to 'spec/factories/ci/runners.rb')
-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 249d8bde5a1..efd9b34fb3f 100644
--- a/spec/factories/ci/runners.rb
+++ b/spec/factories/ci/runners.rb
@@ -23,11 +23,11 @@ FactoryGirl.define do
end
trait :ref_protected do
- access_level 'ref_protected'
+ access_level :ref_protected
end
trait :not_protected do
- access_level 'not_protected'
+ access_level :not_protected
end
end
end