diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-01-18 11:07:12 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-01-18 11:07:12 +0100 |
commit | cff9c16be724398e3d6e7170cc9f5e39cfd8cdb7 (patch) | |
tree | 23ee50e9dc84700e802561bdf9fe9be5b639d976 /spec/factories | |
parent | ee18d89f3dc2b00f7e9514e21c12139ecc8f9224 (diff) | |
download | gitlab-ce-cff9c16be724398e3d6e7170cc9f5e39cfd8cdb7.tar.gz |
Pass memoizable warnings attribute to stage object
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/stages.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/factories/ci/stages.rb b/spec/factories/ci/stages.rb index ee3b17b8bf1..7f557b25ccb 100644 --- a/spec/factories/ci/stages.rb +++ b/spec/factories/ci/stages.rb @@ -3,11 +3,12 @@ FactoryGirl.define do transient do name 'test' status nil + warnings nil pipeline factory: :ci_empty_pipeline end initialize_with do - Ci::Stage.new(pipeline, name: name, status: status) + Ci::Stage.new(pipeline, name: name, status: status, warnings: warnings) end end end |