debian-mirror-gitlab/spec/factories/design_management/actions.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
323 B
Ruby
Raw Normal View History

2020-05-24 23:13:21 +05:30
# frozen_string_literal: true
FactoryBot.define do
factory :design_action, class: 'DesignManagement::Action' do
design
association :version, factory: :design_version
event { :creation }
trait :with_image_v432x230 do
image_v432x230 { fixture_file_upload('spec/fixtures/dk.png') }
end
end
end