lib/rom/sql/spec/support.rb in rom-sql-0.3.0 vs lib/rom/sql/spec/support.rb in rom-sql-0.3.1
- old
+ new
@@ -14,10 +14,10 @@
def seed(db = DB)
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: 2, name: 'Joe')
end
def deseed(db = DB)
db.drop_table? :users
end