lib/rom/sql/spec/support.rb in rom-sql-3.6.4 vs lib/rom/sql/spec/support.rb in rom-sql-4.0.0.alpha1

- old
+ new

@@ -5,21 +5,21 @@ else USING_JRUBY = false end if USING_JRUBY - SEQUEL_TEST_DB_URI = 'jdbc:sqlite::memory:' + SEQUEL_TEST_DB_URI = "jdbc:sqlite::memory:" else - SEQUEL_TEST_DB_URI = 'sqlite::memory' + SEQUEL_TEST_DB_URI = "sqlite::memory" end DB = Sequel.connect(SEQUEL_TEST_DB_URI) def seed(db = DB) - db.run('CREATE TABLE users (id INTEGER PRIMARY KEY, name STRING)') + db.run("CREATE TABLE users (id INTEGER PRIMARY KEY, name STRING)") - db[:users].insert(id: 1, name: 'Jane') - db[:users].insert(id: 2, name: 'Joe') + db[:users].insert(id: 1, name: "Jane") + db[:users].insert(id: 2, name: "Joe") end def deseed(db = DB) db.drop_table? :users end