spec/lib/backends/sqlite/value_spec.rb in picky-4.11.3 vs spec/lib/backends/sqlite/value_spec.rb in picky-4.12.0
- old
+ new
@@ -3,11 +3,11 @@
require 'sqlite3'
describe Picky::Backends::SQLite::Value do
context 'hash-based indexes' do
- let(:db) { described_class.new 'some/cache/path/to/file' }
+ let(:db) { described_class.new 'spec/temp/some/cache/path/to/file' }
describe 'dump' do
it 'delegates to the given hash' do
hash = stub :hash
@@ -65,10 +65,10 @@
end
end
describe 'to_s' do
it 'returns the cache path with the default file extension' do
- db.to_s.should == 'Picky::Backends::SQLite::Value(some/cache/path/to/file.sqlite3)'
+ db.to_s.should == 'Picky::Backends::SQLite::Value(spec/temp/some/cache/path/to/file.sqlite3)'
end
end
end
end