scinote-web/spec/factories/repository_status_items.rb
2019-11-29 10:16:43 +01:00

11 lines
252 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :repository_status_item do
sequence(:icon) { |n| "icon-#{n}" }
sequence(:status) { |n| "status-#{n}" }
repository
repository_column
created_by { create :user }
end
end