Procedure: clone the deliberation
This commit is contained in:
parent
fa14db1cbf
commit
0e690c90cc
3 changed files with 25 additions and 10 deletions
|
@ -135,6 +135,15 @@ FactoryBot.define do
|
|||
end
|
||||
end
|
||||
|
||||
trait :with_deliberation do
|
||||
after(:create) do |procedure, _evaluator|
|
||||
procedure.deliberation.attach(
|
||||
io: StringIO.new('Hello World'),
|
||||
filename: 'hello.txt'
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
trait :with_all_champs_mandatory do
|
||||
after(:build) do |procedure, _evaluator|
|
||||
tdcs = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue