diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-01-11 18:30:01 +0300 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-01-11 18:57:15 +0300 |
commit | 5ba0232f7905a0c2a55ff80cbb97ddf2404fa22c (patch) | |
tree | 0e71b02cfb15fb4a9e9f7f2c6812a62b5da2d69f /spec/factories | |
parent | 5dcfd7d06754fecb245475cc005c112677693801 (diff) |
Fix :ci_build_with_trace factory
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/builds.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb index ce68457f86b..558598d4d5c 100644 --- a/spec/factories/ci/builds.rb +++ b/spec/factories/ci/builds.rb @@ -58,7 +58,9 @@ FactoryGirl.define do factory :ci_build_with_trace do id 999 - trace 'BUILD TRACE' + after(:build) do |build, evaluator| + build.trace = 'BUILD TRACE' + end end factory :ci_build_canceled do |