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 ...@@ -61,8 +61,7 @@ FactoryGirl.define do
end end
factory :ci_build_with_trace do factory :ci_build_with_trace do
id 999 after(:create) do |build, evaluator|
after(:build) do |build, evaluator|
build.trace = 'BUILD TRACE' build.trace = 'BUILD TRACE'
end end
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