2012-07-06 17:36:44 +01:00
|
|
|
# -*- encoding : utf-8 -*-
|
|
|
|
FactoryGirl.define do
|
|
|
|
factory :mass_build do
|
|
|
|
association :platform
|
|
|
|
#name FactoryGirl.generate(:name)
|
|
|
|
association :user
|
|
|
|
repositories { |mb| [ mb.platform.repositories.first.id ] }
|
|
|
|
arches { [ Arch.first.id ] }
|
|
|
|
auto_publish true
|
2012-07-09 17:48:31 +01:00
|
|
|
stop_build false
|
2012-07-06 17:36:44 +01:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|