spec/prepare.rb in fresh_connection-0.2.1 vs spec/prepare.rb in fresh_connection-0.2.2

- old
+ new

@@ -3,10 +3,10 @@ system("mysql -uroot < spec/db_schema.sql") module ActiveRecord class Base self.configurations = YAML.load_file(File.join(File.dirname(__FILE__), "database.yml")) - establish_connection + establish_connection(configurations["test"]) establish_fresh_connection :slave1 end end class Parent < ActiveRecord::Base