summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2016-01-14 12:04:44 +0100
committerTomasz Maczukin <tomasz@maczukin.pl>2016-01-14 12:04:44 +0100
commit6a98fb03e708070641f9fce0eaad761e859a5099 (patch)
tree86c5b85122cb13ac9e4118ed3ab91e5388698b9b /spec
parent4cdbb2f628620be90de872cf7f5cd591e17c1bd0 (diff)
downloadgitlab-ce-6a98fb03e708070641f9fce0eaad761e859a5099.tar.gz
Remove hard-coded id from builds factory
Diffstat (limited to 'spec')
-rw-r--r--spec/factories/ci/builds.rb3
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