spec/lib/query/indexes_spec.rb in picky-4.0.4 vs spec/lib/query/indexes_spec.rb in picky-4.0.5

- old
+ new

@@ -5,13 +5,11 @@ before(:each) do Picky::Query::IndexesCheck.stub! :check_backends end 3.times do |i| - n = i + 1 - name = :"index#{n}" - indexed = :"indexed#{n}" - let(name) { stub name, :internal_indexed => stub(indexed) } + name = :"index#{i+1}" + let(name) { Picky::Index.new(name) } end let(:indexes) do indexes = described_class.allocate indexes.stub! :map_categories \ No newline at end of file