rosa-build/spec/factories/mass_build.rb

14 lines
311 B
Ruby

# -*- 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
stop_build false
end
end