Remove hard-coded id from builds factory
This commit is contained in:
parent
4cdbb2f628
commit
6a98fb03e7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue