We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03c8b87 commit d03eacdCopy full SHA for d03eacd
lib/ajax-datatables-rails/datatable/simple_search.rb
@@ -15,6 +15,7 @@ def value
15
def regexp?
16
@options[:regex] == TRUE_VALUE
17
end
18
+
19
20
21
spec/ajax-datatables-rails/datatable/simple_search_spec.rb
@@ -2,7 +2,7 @@
2
3
describe AjaxDatatablesRails::Datatable::SimpleSearch do
4
5
- let(:options) { ActiveSupport::HashWithIndifferentAccess.new({'value'=>'search value', 'regex'=>'true'}) }
+ let(:options) { ActiveSupport::HashWithIndifferentAccess.new({'value' => 'search value', 'regex' => 'true'}) }
6
let(:simple_search) { AjaxDatatablesRails::Datatable::SimpleSearch.new(options) }
7
8
describe 'option methods' do
0 commit comments