summaryrefslogtreecommitdiff
path: root/spec/factories/timelogs.rb
blob: b45f06b9a0aa2aa9f4e5cc11f68e4f2097e7a175 (plain)
1
2
3
4
5
6
7
8
9
# 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