mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 19:24:10 +08:00
10 lines
247 B
Ruby
10 lines
247 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :tiny_mce_asset do
|
|
association :team, factory: :team
|
|
image do
|
|
fixture_file_upload(Rails.root.join('spec', 'fixtures', 'files', 'test.jpg'), 'image/jpg')
|
|
end
|
|
end
|
|
end
|