test/test_helper.rb in after_commit-1.0.2 vs test/test_helper.rb in after_commit-1.0.3

- old
+ new

@@ -11,10 +11,14 @@ end ActiveRecord::Base.establish_connection({"adapter" => "sqlite3", "database" => 'test.sqlite3'}) begin ActiveRecord::Base.connection.execute("drop table mock_records"); + ActiveRecord::Base.connection.execute("drop table foos"); + ActiveRecord::Base.connection.execute("drop table bars"); rescue end ActiveRecord::Base.connection.execute("create table mock_records(id int)"); +ActiveRecord::Base.connection.execute("create table foos(id int)"); +ActiveRecord::Base.connection.execute("create table bars(id int)"); require 'after_commit'