spec/lib/indexes_class_spec.rb in picky-2.7.0 vs spec/lib/indexes_class_spec.rb in picky-3.0.0.pre1

- old
+ new

@@ -1,8 +1,8 @@ require 'spec_helper' -describe Indexes do +describe Picky::Indexes do before(:each) do @index = stub :some_index, :name => :some_index @indexes = described_class.instance end @@ -19,10 +19,10 @@ describe 'register' do it 'adds the given index to the indexes' do @indexes.clear_indexes - Indexes.register @index + described_class.register @index @indexes.indexes.should == [@index] end end \ No newline at end of file