spec/thinking_sphinx_spec.rb in thinking-sphinx-3.1.4 vs spec/thinking_sphinx_spec.rb in thinking-sphinx-3.2.0
- old
+ new
@@ -1,9 +1,10 @@
require 'spec_helper'
describe ThinkingSphinx do
describe '.count' do
- let(:search) { double('search', :total_entries => 23) }
+ let(:search) { double('search', :total_entries => 23, :populated? => false,
+ :options => {}) }
before :each do
ThinkingSphinx::Search.stub :new => search
end