debian-mirror-gitlab/spec/factories/resource_weight_events.rb
2020-03-13 15:44:24 +05:30

8 lines
171 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :resource_weight_event do
issue { create(:issue) }
user { issue&.author || create(:user) }
end
end