test/test_pool.rb in swift-0.7.2 vs test/test_pool.rb in swift-0.8.0

- old
+ new

@@ -4,10 +4,10 @@ describe 'Adapter' do supported_by Swift::DB::Postgres, Swift::DB::Mysql do describe 'Asynchronous connection pool' do before do Swift.db do |db| - db.execute %q{drop table users} rescue nil + db.execute %q{drop table if exists users} db.execute %Q{create table users(name varchar(64))} end end it 'creates connection pool and runs queries' do