From 1b481342a08caea34e0d605780de13d47d8dd7e2 Mon Sep 17 00:00:00 2001 From: Shinya Maeda Date: Sat, 2 Sep 2017 16:31:14 +0900 Subject: Fix spec --- spec/factories/ci/builds.rb | 4 ---- spec/factories/ci/pipelines.rb | 4 ---- spec/factories/ci/runners.rb | 5 +---- 3 files changed, 1 insertion(+), 12 deletions(-) (limited to 'spec/factories') 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 -- cgit v1.2.1