update product_build_list Factory
This commit is contained in:
parent
9d8b8d8a1e
commit
3f6afeacb1
|
@ -9,5 +9,8 @@ FactoryGirl.define do
|
||||||
params 'ENV=i586'
|
params 'ENV=i586'
|
||||||
time_living 150
|
time_living 150
|
||||||
project_version 'master'
|
project_version 'master'
|
||||||
|
|
||||||
|
# see: before_validation in ProductBuildList model
|
||||||
|
before(:create) { Arch.find_or_create_by_name('x86_64') }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue