test/test_helper.rb in yipdw-after_commit-0.0.0 vs test/test_helper.rb in yipdw-after_commit-0.0.1

- old
+ new

@@ -1,12 +1,9 @@ $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib') require 'test/unit' require 'rubygems' require 'activerecord' -require 'after_commit' -require 'after_commit/active_record' -require 'after_commit/connection_adapters' begin require 'sqlite3' rescue LoadError gem 'sqlite3-ruby' @@ -18,6 +15,6 @@ ActiveRecord::Base.connection.execute("drop table mock_records"); rescue end ActiveRecord::Base.connection.execute("create table mock_records(id int)"); -require File.dirname(__FILE__) + '/../init.rb' +require 'after_commit'