rosa-build/spec/factories/label.rb

7 lines
154 B
Ruby
Raw Normal View History

2013-04-03 12:11:50 +01:00
FactoryGirl.define do
factory :label do
name { FactoryGirl.generate(:string) }
color 'FFF'
2014-01-21 04:51:49 +00:00
association :project, factory: :project
2013-04-03 12:11:50 +01:00
end
end