spec/lib/backends/sqlite/value_spec.rb in picky-4.12.8 vs spec/lib/backends/sqlite/value_spec.rb in picky-4.12.10
- old
+ new
@@ -3,11 +3,11 @@
require 'sqlite3'
describe Picky::Backends::SQLite::Value do
context 'hash-based indexes' do
- let(:db) { described_class.new 'spec/temp/some/cache/path/to/file' }
+ let(:db) { described_class.new 'spec/temp/some/other/cache/path/to/file' }
describe 'dump' do
it 'forwards 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(spec/temp/some/cache/path/to/file.sqlite3)'
+ db.to_s.should == 'Picky::Backends::SQLite::Value(spec/temp/some/other/cache/path/to/file.sqlite3)'
end
end
end
end