spec/lib/sequel_rails/storage/sqlite_spec.rb in sequel-rails-1.1.1 vs spec/lib/sequel_rails/storage/sqlite_spec.rb in sequel-rails-1.2.0
- old
+ new
@@ -15,10 +15,13 @@
describe '#_create' do
it 'defer to Sequel' do
path = double(:path)
allow(subject).to receive(:path).and_return path
- expect(::Sequel).to receive(:connect).with('adapter' => 'sqlite3', 'database' => path)
+ expect(::Sequel).to receive(:connect).with({
+ 'adapter' => 'sqlite3',
+ 'database' => path
+ })
subject._create
end
end
describe '#_drop' do