diff options
Diffstat (limited to 'spec/factories/timelogs.rb')
-rw-r--r-- | spec/factories/timelogs.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/factories/timelogs.rb b/spec/factories/timelogs.rb new file mode 100644 index 00000000000..12fc4ec4486 --- /dev/null +++ b/spec/factories/timelogs.rb @@ -0,0 +1,9 @@ +# Read about factories at https://github.com/thoughtbot/factory_girl + +FactoryGirl.define do + factory :timelog do + time_spent 3600 + user + association :trackable, factory: :issue + end +end |