diff options
Diffstat (limited to 'spec/factories/ci/stages.rb')
-rw-r--r-- | spec/factories/ci/stages.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/factories/ci/stages.rb b/spec/factories/ci/stages.rb index 88ff8d7dc53..67f4db41d96 100644 --- a/spec/factories/ci/stages.rb +++ b/spec/factories/ci/stages.rb @@ -5,16 +5,16 @@ FactoryBot.define do skip_create transient do - name 'test' - status nil - warnings nil + name { 'test' } + status { nil } + warnings { nil } pipeline factory: :ci_empty_pipeline end initialize_with do Ci::LegacyStage.new(pipeline, name: name, - status: status, - warnings: warnings) + status: status, + warnings: warnings) end end @@ -22,8 +22,8 @@ FactoryBot.define do project factory: :project pipeline factory: :ci_empty_pipeline - name 'test' - position 1 - status 'pending' + name { 'test' } + position { 1 } + status { 'pending' } end end |