aboutsummaryrefslogtreecommitdiffstats
path: root/spec/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/table_builder_helper_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/helpers/table_builder_helper_spec.rb b/spec/helpers/table_builder_helper_spec.rb
index 67980fc2c..6d7b60366 100644
--- a/spec/helpers/table_builder_helper_spec.rb
+++ b/spec/helpers/table_builder_helper_spec.rb
@@ -17,7 +17,7 @@ describe TableBuilderHelper, type: :helper do
permissions: [
'referentials.create',
'referentials.edit',
- 'referentials.destroy'
+ 'referentials.destroy',
]
),
referential: referential
@@ -299,7 +299,8 @@ describe TableBuilderHelper, type: :helper do
companies = ModelDecorator.decorate(
companies,
- with: CompanyDecorator
+ with: CompanyDecorator,
+ context: {line_referential: line_referential}
)
expected = <<-HTML