spec/support/datatable_cond_string.rb in ajax-datatables-rails-0.4.3 vs spec/support/datatable_cond_string.rb in ajax-datatables-rails-1.0.0
- old
+ new
@@ -28,8 +28,8 @@
end
end
class DatatableWithFormater < ComplexDatatable
def view_columns
- super.deep_merge(last_name: { formater: -> (o) { o.upcase } })
+ super.deep_merge(last_name: { formatter: -> (o) { o.upcase } })
end
end