diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-07-05 02:30:37 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-07-05 02:30:37 +0000 |
commit | 73c80169c85d6405940dc6c45dcc0ccff9d689df (patch) | |
tree | c60d5ab01ca143d932def9d9e64f1321fda6bf79 | |
parent | 080e1697512e67b289ccf3db9cba3ddb9389439e (diff) | |
download | rails-73c80169c85d6405940dc6c45dcc0ccff9d689df.tar.gz rails-73c80169c85d6405940dc6c45dcc0ccff9d689df.tar.bz2 rails-73c80169c85d6405940dc6c45dcc0ccff9d689df.zip |
rake should run active_schema_mysql_test.rb (closes #5390)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4549 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r-- | activerecord/test/active_schema_mysql_test.rb (renamed from activerecord/test/active_schema_mysql.rb) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/active_schema_mysql.rb b/activerecord/test/active_schema_mysql_test.rb index d3ee5bfb66..a10970ecbf 100644 --- a/activerecord/test/active_schema_mysql.rb +++ b/activerecord/test/active_schema_mysql_test.rb @@ -17,11 +17,11 @@ class ActiveSchemaTest < Test::Unit::TestCase end def test_add_column - assert_equal "ALTER TABLE people ADD last_name varchar(255)", add_column(:people, :last_name, :string) + assert_equal "ALTER TABLE people ADD `last_name` varchar(255)", add_column(:people, :last_name, :string) end def test_add_column_with_limit - assert_equal "ALTER TABLE people ADD key varchar(32)", add_column(:people, :key, :string, :limit => 32) + assert_equal "ALTER TABLE `people` ADD key varchar(32)", add_column(:people, :key, :string, :limit => 32) end private |