aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/helpers/table_builder_helper_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/helpers/table_builder_helper_spec.rb b/spec/helpers/table_builder_helper_spec.rb
index e9d1afed3..085ed5a81 100644
--- a/spec/helpers/table_builder_helper_spec.rb
+++ b/spec/helpers/table_builder_helper_spec.rb
@@ -7,6 +7,12 @@ describe TableBuilderHelper, type: :helper do
build_stubbed(:referential)
]
+ allow(helper).to receive(:params).and_return({
+ :controller => 'workbenches',
+ :action => 'show',
+ :id => workbenches[0].workbench.id
+ })
+
expected = <<-HTML
<table class="table has-filter has-search">
<thead>