spec/lib/backends/memory_spec.rb in picky-4.11.3 vs spec/lib/backends/memory_spec.rb in picky-4.12.0

- old
+ new

@@ -19,11 +19,11 @@ # [:similarity, Picky::Backends::Memory::JSON], # [:configuration, Picky::Backends::Memory::Marshal] # ].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}") + # stub(type, :index_path => "spec/temp/index/test/some_index/some_category_some_bundle_#{type}") # ).should be_kind_of(kind) # end # end # end # end @@ -45,11 +45,11 @@ # [:similarity, Picky::Backends::Memory::JSON], # [:configuration, Picky::Backends::Memory::Marshal] # ].each do |type, kind| # it "creates and returns a(n) #{type} index" do # to_a_able_stub = Object.new - # to_a_able_stub.stub! :index_path => "spec/test_directory/index/test/some_index/some_category_some_bundle_#{type}" + # to_a_able_stub.stub! :index_path => "spec/temp/index/test/some_index/some_category_some_bundle_#{type}" # @backend.send(:"create_#{type}", to_a_able_stub).should be_kind_of(kind) # end # end # end # end @@ -68,10 +68,10 @@ [: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}") + stub(type, :index_path => "spec/temp/index/test/some_index/some_category_some_bundle_#{type}") ).should be_kind_of(kind) end end end \ No newline at end of file