gitlab-org--gitlab-foss/spec/factories/timelogs.rb
2017-01-15 11:10:04 -05:00

9 lines
197 B
Ruby

# 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