spec/api/query/fulltext_examples.rb in sunspot-2.0.0.pre.120417 vs spec/api/query/fulltext_examples.rb in sunspot-2.0.0.pre.120720

- old
+ new

@@ -222,11 +222,11 @@ boost 2.0 do with(:average_rating).greater_than(2.0) end end end - connection.should have_last_search_with(:bq => ['average_rating_ft:[2\.0 TO *]^2.0']) + connection.should have_last_search_with(:bq => ['average_rating_ft:{2\.0 TO *}^2.0']) end it 'creates multiple boost queries' do search do keywords 'great pizza' do @@ -238,10 +238,10 @@ end end end connection.should have_last_search_with( :bq => [ - 'average_rating_ft:[2\.0 TO *]^2.0', + 'average_rating_ft:{2\.0 TO *}^2.0', 'featured_bs:true^1.5' ] ) end