fix(bulk_messages): destroy bulk messages with procedures
This commit is contained in:
parent
78784d1c62
commit
c7b1dc7f87
5 changed files with 20 additions and 1 deletions
|
@ -72,6 +72,10 @@ FactoryBot.define do
|
|||
end
|
||||
end
|
||||
|
||||
trait :with_bulk_message do
|
||||
groupe_instructeurs { [association(:groupe_instructeur, :default, :with_bulk_message, procedure: instance, strategy: :build)] }
|
||||
end
|
||||
|
||||
trait :with_logo do
|
||||
logo { Rack::Test::UploadedFile.new('spec/fixtures/files/logo_test_procedure.png', 'image/png') }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue