2017-12-14 00:13:44 +00:00
|
|
|
# Read about factories at https://github.com/thoughtbot/factory_bot
|
2016-12-23 05:44:02 +00:00
|
|
|
|
2017-12-14 00:13:44 +00:00
|
|
|
FactoryBot.define do
|
2016-12-23 05:44:02 +00:00
|
|
|
factory :timelog do
|
|
|
|
time_spent 3600
|
2017-01-26 01:16:09 +00:00
|
|
|
issue
|
2017-08-04 17:14:04 +00:00
|
|
|
user { issue.project.creator }
|
2016-12-23 05:44:02 +00:00
|
|
|
end
|
|
|
|
end
|