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-09-02 10:31:14 +0300
committerShinya Maeda <shinya@gitlab.com>2017-09-03 17:49:11 +0300
commit1b481342a08caea34e0d605780de13d47d8dd7e2 (patch)
treef89e082c7cb4838815927c97c765538ac932a171 /spec/factories/ci
parenteab938d50519a4da272818c1364ceeca82e32982 (diff)
Fix spec
Diffstat (limited to 'spec/factories/ci')
-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