summaryrefslogtreecommitdiff
path: root/spec/factories/internal_ids.rb
blob: bc6ea41ec06c6573004b7eb72d5a25a062c2079b (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

FactoryBot.define do
  factory :internal_id do
    project
    usage { :issues }
    last_value { project.issues.maximum(:iid) || 0 }
  end
end