spec/lib/backends/memory/basic_spec.rb in picky-4.11.3 vs spec/lib/backends/memory/basic_spec.rb in picky-4.12.0
- old
+ new
@@ -1,11 +1,11 @@
require 'spec_helper'
describe Picky::Backends::Memory::Basic do
context 'without options' do
- let(:basic) { described_class.new 'some/cache/path/to/file' }
+ let(:basic) { described_class.new 'spec/temp/some/cache/path/to/file' }
describe 'empty' do
it 'returns the container that is used for indexing' do
basic.empty.should == {}
end
@@ -17,17 +17,17 @@
end
end
describe 'to_s' do
it 'returns the cache path with the default file extension' do
- basic.to_s.should == 'Picky::Backends::Memory::Basic(some/cache/path/to/file.memory.index)'
+ basic.to_s.should == 'Picky::Backends::Memory::Basic(spec/temp/some/cache/path/to/file.memory.index)'
end
end
end
context 'with options' do
let(:basic) do
- described_class.new 'some/cache/path/to/file',
+ described_class.new 'spec/temp/some/cache/path/to/file',
empty: [],
initial: []
end
describe 'empty' do
\ No newline at end of file