diff options
Diffstat (limited to 'spec/support/referential.rb')
| -rw-r--r-- | spec/support/referential.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/spec/support/referential.rb b/spec/support/referential.rb index 3b74cb639..9c7108eb9 100644 --- a/spec/support/referential.rb +++ b/spec/support/referential.rb @@ -52,7 +52,15 @@ RSpec.configure do |config| referential.add_member organisation, owner: true end - workbench = Workbench.create!(:name => "Gestion de l'offre", organisation: organisation, line_referential: line_referential, stop_area_referential: stop_area_referential) + referential_suite = ReferentialSuite.create + + workbench = Workbench.create!( + name: "Gestion de l'offre", + organisation: organisation, + line_referential: line_referential, + stop_area_referential: stop_area_referential, + output: referential_suite + ) referential = Referential.create! prefix: "first", name: "first", slug: "first", organisation: organisation, workbench: workbench end |
