Remove hard-coded id from builds factory

This commit is contained in:
Tomasz Maczukin 2016-01-14 12:04:44 +01:00
parent 4cdbb2f628
commit 6a98fb03e7

View file

@ -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