diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-01-14 12:04:44 +0100 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-01-14 12:04:44 +0100 |
commit | 6a98fb03e708070641f9fce0eaad761e859a5099 (patch) | |
tree | 86c5b85122cb13ac9e4118ed3ab91e5388698b9b /spec | |
parent | 4cdbb2f628620be90de872cf7f5cd591e17c1bd0 (diff) | |
download | gitlab-ce-6a98fb03e708070641f9fce0eaad761e859a5099.tar.gz |
Remove hard-coded id from builds factory
Diffstat (limited to 'spec')
-rw-r--r-- | spec/factories/ci/builds.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb index 636cdbba1b8..d2db77f6286 100644 --- a/spec/factories/ci/builds.rb +++ b/spec/factories/ci/builds.rb @@ -61,8 +61,7 @@ FactoryGirl.define do end factory :ci_build_with_trace do - id 999 - after(:build) do |build, evaluator| + after(:create) do |build, evaluator| build.trace = 'BUILD TRACE' end end |