spec/lib/backends/sqlite/array_spec.rb in picky-4.12.8 vs spec/lib/backends/sqlite/array_spec.rb in picky-4.12.10
- old
+ new
@@ -3,11 +3,11 @@
require 'sqlite3'
describe Picky::Backends::SQLite::Array 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,17 +65,17 @@
end
end
describe 'to_s' do
it 'returns the cache path with the default file extension' do
- db.to_s.should == 'Picky::Backends::SQLite::Array(spec/temp/some/cache/path/to/file.sqlite3)'
+ db.to_s.should == 'Picky::Backends::SQLite::Array(spec/temp/some/other/cache/path/to/file.sqlite3)'
end
end
end
context 'hash-based indexes' do
- let(:db) { described_class.new 'spec/temp/some/cache/path/to/file', realtime: true }
+ let(:db) { described_class.new 'spec/temp/some/other/cache/path/to/file', realtime: true }
describe 'dump' do
it 'forwards to the given hash' do
hash = stub :hash
@@ -133,10 +133,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::Array(spec/temp/some/cache/path/to/file.sqlite3)'
+ db.to_s.should == 'Picky::Backends::SQLite::Array(spec/temp/some/other/cache/path/to/file.sqlite3)'
end
end
end
end