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, 4 insertions, 1 deletions
diff --git a/spec/helpers/table_builder_helper_spec.rb b/spec/helpers/table_builder_helper_spec.rb
index e29112653..029748dd2 100644
--- a/spec/helpers/table_builder_helper_spec.rb
+++ b/spec/helpers/table_builder_helper_spec.rb
@@ -191,7 +191,10 @@ describe TableBuilderHelper, type: :helper do
html_str = helper.table_builder_2(
companies,
{
- 'ID Codif' => Proc.new { |n| n.try(:objectid).try(:local_id) },
+ 'ID Codif' => {
+ attribute: Proc.new { |n| n.try(:objectid).try(:local_id) },
+ sortable: false
+ },
:name => 'name',
:phone => 'phone',
:email => 'email',