spec/lib/backends/memory_spec.rb in picky-3.1.0 vs spec/lib/backends/memory_spec.rb in picky-3.1.1

- old
+ new

@@ -8,13 +8,13 @@ @backend.stub! :timed_exclaim end describe 'create_...' do [ - [:inverted, Picky::Backends::File::JSON], - [:weights, Picky::Backends::File::JSON], - [:similarity, Picky::Backends::File::Marshal], - [:configuration, Picky::Backends::File::JSON] + [:inverted, Picky::Backends::Memory::JSON], + [:weights, Picky::Backends::Memory::JSON], + [:similarity, Picky::Backends::Memory::Marshal], + [:configuration, Picky::Backends::Memory::JSON] ].each do |type, kind| it "creates and returns a(n) #{type} index" do @backend.send(:"create_#{type}", stub(type, :index_path => "spec/test_directory/index/test/some_index/some_category_some_bundle_#{type}") ).should be_kind_of(kind) \ No newline at end of file