scinote-web/spec/factories/tinymce_assets.rb

11 lines
247 B
Ruby
Raw Normal View History

# 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