Commit 6a98fb03 authored by Tomasz Maczukin's avatar Tomasz Maczukin

Remove hard-coded id from builds factory

parent 4cdbb2f6
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment