spec/api/query/join_spec.rb in sunspot-2.1.1 vs spec/api/query/join_spec.rb in sunspot-2.2.0

- old
+ new

@@ -4,16 +4,16 @@ it 'should search by join' do session.search PhotoContainer do with(:caption, 'blah') end connection.should have_last_search_including( - :fq, "{!join from=photo_container_id to=id}caption_s:blah") + :fq, "{!join from=photo_container_id_i to=id_i}caption_s:blah") end it 'should greater_than search by join' do session.search PhotoContainer do with(:photo_rating).greater_than(3) end connection.should have_last_search_including( - :fq, "{!join from=photo_container_id to=id}average_rating_ft:{3\\.0 TO *}") + :fq, "{!join from=photo_container_id_i to=id_i}average_rating_ft:{3\\.0 TO *}") end -end \ No newline at end of file +end