scinote-web/spec/factories/repository_rows.rb

11 lines
216 B
Ruby
Raw Normal View History

# frozen_string_literal: true
FactoryBot.define do
2017-07-28 16:14:50 +08:00
factory :repository_row do
sequence(:name) { |n| "My row-#{n}" }
created_by { create :user }
repository
last_modified_by { created_by }
2017-07-28 16:14:50 +08:00
end
end