Welcome to mirror list, hosted at ThFree Co, Russian Federation.

actions.rb « design_management « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e2561f98f52c3d6ed4c89a82b2119b2e724abe31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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