update product_build_list Factory

This commit is contained in:
Vokhmin Alexey V 2013-03-22 22:31:24 +04:00
parent 9d8b8d8a1e
commit 3f6afeacb1
1 changed files with 3 additions and 0 deletions

View File

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