aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2015-11-07 08:44:29 -0700
committerSean Griffin <sean@seantheprogrammer.com>2015-11-07 08:44:29 -0700
commit986f79a446f73c6e093419f751222768e1ccd13c (patch)
tree1a947a1f3ccd6b315775fccef84e1eb9767dbc44
parent9deb6ababe87393fb7806c5097faf51f2852deda (diff)
downloadrails-986f79a446f73c6e093419f751222768e1ccd13c.tar.gz
rails-986f79a446f73c6e093419f751222768e1ccd13c.tar.bz2
rails-986f79a446f73c6e093419f751222768e1ccd13c.zip
Fix test failures
The previous commit changes the state of the class, and while we are cleaning up the database, I forgot to clean up the class
-rw-r--r--activerecord/test/cases/persistence_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/persistence_test.rb b/activerecord/test/cases/persistence_test.rb
index 7e3b226805..b2e59e3970 100644
--- a/activerecord/test/cases/persistence_test.rb
+++ b/activerecord/test/cases/persistence_test.rb
@@ -977,5 +977,6 @@ class PersistenceTest < ActiveRecord::TestCase
assert_equal "bar", child.new(foo: :bar).foo
ensure
ActiveRecord::Base.connection.remove_column(:topics, :foo)
+ Topic.reset_column_information
end
end