Maintain Ruby 1.8 compat for now [skip ci]
This commit is contained in:
parent
4a46098ebd
commit
417b703fd0
|
@ -132,7 +132,7 @@ module Ransack
|
|||
end
|
||||
end
|
||||
it 'filters predicates with multi-value :only' do
|
||||
html = @f.predicate_select only: [:eq, :lt]
|
||||
html = @f.predicate_select :only => [:eq, :lt]
|
||||
Predicate.names.reject { |k| k =~ /^(eq|lt)/ }.each do |key|
|
||||
expect(html).not_to match /<option value="#{key}">/
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue