spec/info_mysql2_example.rb in baza-0.0.20 vs spec/info_mysql2_example.rb in baza-0.0.21
- old
+ new
@@ -10,12 +10,10 @@
db: "baza-test"
}.merge(args))
end
def before
- @db.tables.list do |table|
- table.drop
- end
+ @db.tables.list(&:drop)
end
def after
@db.close
end