debian-mirror-gitlab/spec/factories/timelogs.rb
2019-10-12 21:52:04 +05:30

11 lines
218 B
Ruby

# frozen_string_literal: true
# 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