diff options
author | Rick Martinez <rick@flavorpill.com> | 2012-02-10 17:35:22 -0500 |
---|---|---|
committer | Rick Martinez <rick@flavorpill.com> | 2012-02-10 17:35:22 -0500 |
commit | 30b6d4f7f16af78e3b361b8c52fcddca64cf9190 (patch) | |
tree | f1c57c0f275d46156fc31e626b309c95d7bf15b0 /activerecord/test/support | |
parent | 6728191494a3ee1248e86d4b96d7973299675827 (diff) | |
download | rails-30b6d4f7f16af78e3b361b8c52fcddca64cf9190.tar.gz rails-30b6d4f7f16af78e3b361b8c52fcddca64cf9190.tar.bz2 rails-30b6d4f7f16af78e3b361b8c52fcddca64cf9190.zip |
added test for #3732
Diffstat (limited to 'activerecord/test/support')
-rw-r--r-- | activerecord/test/support/connection.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/test/support/connection.rb b/activerecord/test/support/connection.rb index 60fea46fd3..11154c3797 100644 --- a/activerecord/test/support/connection.rb +++ b/activerecord/test/support/connection.rb @@ -1,4 +1,5 @@ require 'active_support/logger' +require_dependency 'models/college' require_dependency 'models/course' module ARTest @@ -15,6 +16,6 @@ module ARTest ActiveRecord::Model.logger = ActiveSupport::Logger.new("debug.log") ActiveRecord::Model.configurations = connection_config ActiveRecord::Model.establish_connection 'arunit' - Course.establish_connection 'arunit2' + ARUnit2Model.establish_connection 'arunit2' end end |