aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/unconnected_test.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-01-08 18:33:33 +0000
committerAaron Patterson <aaron.patterson@gmail.com>2011-01-11 13:45:06 -0800
commit80df74bf515124c9db85d4a670989ae5cc28c3ec (patch)
treef42a0ba9c629a4fc852b4de96d047be73cb2dffa /activerecord/test/cases/unconnected_test.rb
parentc6e10b0f600a56e962ff7d1614c50fca20630379 (diff)
downloadrails-80df74bf515124c9db85d4a670989ae5cc28c3ec.tar.gz
rails-80df74bf515124c9db85d4a670989ae5cc28c3ec.tar.bz2
rails-80df74bf515124c9db85d4a670989ae5cc28c3ec.zip
Enable the sqlite3 in-memory test connection to work
Diffstat (limited to 'activerecord/test/cases/unconnected_test.rb')
-rw-r--r--activerecord/test/cases/unconnected_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/unconnected_test.rb b/activerecord/test/cases/unconnected_test.rb
index 23ad10f3f9..e82ca3f93d 100644
--- a/activerecord/test/cases/unconnected_test.rb
+++ b/activerecord/test/cases/unconnected_test.rb
@@ -14,6 +14,7 @@ class TestUnconnectedAdapter < ActiveRecord::TestCase
def teardown
@underlying = nil
ActiveRecord::Base.establish_connection(@specification)
+ load_schema if in_memory_db?
end
def test_connection_no_longer_established