Maintain Ruby 1.8 compat for now [skip ci]

This commit is contained in:
Jon Atack 2014-11-03 23:57:15 +01:00
parent 4a46098ebd
commit 417b703fd0
1 changed files with 1 additions and 1 deletions

View File

@ -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