spec/lib/indexes_spec.rb in picky-2.6.0 vs spec/lib/indexes_spec.rb in picky-2.7.0

- old
+ new

@@ -14,22 +14,22 @@ it 'is empty by default' do @indexes.indexes.should be_empty end end - describe 'clear' do + describe 'clear_indexes' do it 'clears the indexes' do @indexes.register @index - @indexes.clear + @indexes.clear_indexes @indexes.indexes.should == [] end end describe 'register' do it 'adds the given index to the indexes' do - @indexes.clear + @indexes.clear_indexes @indexes.register @index @indexes.indexes.should == [@index] end \ No newline at end of file