diff options
Diffstat (limited to 'spec/factories/ci/builds.rb')
-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 |