spec/lib/indexes_class_spec.rb in picky-4.19.4 vs spec/lib/indexes_class_spec.rb in picky-4.19.5
- old
+ new
@@ -1,10 +1,10 @@
require 'spec_helper'
describe Picky::Indexes do
before(:each) do
- @index = stub :some_index, :name => :some_index
+ @index = double :some_index, :name => :some_index
@indexes = described_class.instance
end
describe 'clear_indexes' do
it 'clears the indexes' do
\ No newline at end of file