spec/acceptance/batch_searching_spec.rb in thinking-sphinx-3.2.0 vs spec/acceptance/batch_searching_spec.rb in thinking-sphinx-3.3.0
- old
+ new
@@ -10,12 +10,12 @@
batch.searches << Article.search('pancakes')
batch.searches << Article.search('waffles')
batch.populate
- batch.searches.first.should include(pancakes)
- batch.searches.first.should_not include(waffles)
+ expect(batch.searches.first).to include(pancakes)
+ expect(batch.searches.first).not_to include(waffles)
- batch.searches.last.should include(waffles)
- batch.searches.last.should_not include(pancakes)
+ expect(batch.searches.last).to include(waffles)
+ expect(batch.searches.last).not_to include(pancakes)
end
end