10 lines
209 B
Ruby
10 lines
209 B
Ruby
|
|
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||
|
|
|
||
|
|
FactoryGirl.define do
|
||
|
|
factory :target do
|
||
|
|
due_date Date.today + 14
|
||
|
|
target_count 100
|
||
|
|
unit Target.units[:submissions]
|
||
|
|
end
|
||
|
|
end
|