debian-mirror-gitlab/spec/factories/timelogs.rb
2018-03-17 18:26:18 +05:30

9 lines
187 B
Ruby

# Read about factories at https://github.com/thoughtbot/factory_bot
FactoryBot.define do
factory :timelog do
time_spent 3600
issue
user { issue.project.creator }
end
end