scinote-web/spec/factories/repository_asset_values.rb

7 lines
168 B
Ruby
Raw Normal View History

2018-03-10 00:04:54 +08:00
FactoryBot.define do
factory :repository_asset_value do
created_by { User.first || create(:user) }
last_modified_by { User.first || create(:user) }
end
end