2014-04-17 21:18:24 +01:00
|
|
|
FactoryGirl.define do
|
|
|
|
factory :rpm_build_node do
|
2015-02-19 01:53:47 +00:00
|
|
|
# id { FactoryGirl.generate(:string) }
|
2014-04-17 21:18:24 +01:00
|
|
|
user_id { FactoryGirl.create(:user).id }
|
2015-02-19 01:53:47 +00:00
|
|
|
before(:build) do |n|
|
|
|
|
n.send :id=, FactoryGirl.generate(:string)
|
|
|
|
end
|
2014-04-17 21:18:24 +01:00
|
|
|
end
|
|
|
|
end
|