summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-09-02 16:31:14 +0900
committerShinya Maeda <shinya@gitlab.com>2017-09-03 23:49:11 +0900
commit1b481342a08caea34e0d605780de13d47d8dd7e2 (patch)
treef89e082c7cb4838815927c97c765538ac932a171 /spec/factories
parenteab938d50519a4da272818c1364ceeca82e32982 (diff)
downloadgitlab-ce-1b481342a08caea34e0d605780de13d47d8dd7e2.tar.gz
Fix spec
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/ci/builds.rb4
-rw-r--r--spec/factories/ci/pipelines.rb4
-rw-r--r--spec/factories/ci/runners.rb5
3 files changed, 1 insertions, 12 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb
index bdc3e8acc07..25ec63de94a 100644
--- a/spec/factories/ci/builds.rb
+++ b/spec/factories/ci/builds.rb
@@ -231,9 +231,5 @@ FactoryGirl.define do
trait :protected do
protected true
end
-
- trait :unprotected do
- protected false
- end
end
end
diff --git a/spec/factories/ci/pipelines.rb b/spec/factories/ci/pipelines.rb
index 5b51f5898a3..e5ea6b41ea3 100644
--- a/spec/factories/ci/pipelines.rb
+++ b/spec/factories/ci/pipelines.rb
@@ -64,10 +64,6 @@ FactoryGirl.define do
trait :protected do
protected true
end
-
- trait :unprotected do
- protected false
- end
end
end
end
diff --git a/spec/factories/ci/runners.rb b/spec/factories/ci/runners.rb
index efd9b34fb3f..88bb755d068 100644
--- a/spec/factories/ci/runners.rb
+++ b/spec/factories/ci/runners.rb
@@ -5,6 +5,7 @@ FactoryGirl.define do
platform "darwin"
is_shared false
active true
+ access_level :not_protected
trait :online do
contacted_at Time.now
@@ -25,9 +26,5 @@ FactoryGirl.define do
trait :ref_protected do
access_level :ref_protected
end
-
- trait :not_protected do
- access_level :not_protected
- end
end
end