aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2007-09-22 22:33:51 +0000
committerMichael Koziarski <michael@koziarski.com>2007-09-22 22:33:51 +0000
commit1abe5a2dedc25d0dcfdff74c65aebc20ccf3011f (patch)
treeeb73429809fa1ace24a38f121eabaa53ff0c6daf
parent9ab8d4d9edd9dd136b8ec0a77ce9512b4171fd52 (diff)
downloadrails-1abe5a2dedc25d0dcfdff74c65aebc20ccf3011f.tar.gz
rails-1abe5a2dedc25d0dcfdff74c65aebc20ccf3011f.tar.bz2
rails-1abe5a2dedc25d0dcfdff74c65aebc20ccf3011f.zip
Fix broken mysql test [frederick.cheung@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--activerecord/test/migration_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/migration_test.rb b/activerecord/test/migration_test.rb
index 14630f7f65..69e9212fa6 100644
--- a/activerecord/test/migration_test.rb
+++ b/activerecord/test/migration_test.rb
@@ -334,6 +334,7 @@ if ActiveRecord::Base.connection.supports_migrations?
Person.delete_all
ActiveRecord::Migration.add_column :people, :intelligence_quotient, :tinyint
+ Person.reset_column_information
Person.create :intelligence_quotient => 300
jonnyg = Person.find(:first)
assert_equal 127, jonnyg.intelligence_quotient