diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-06-08 01:40:05 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-06-08 01:40:05 +0000 |
commit | 9b444fe73beaddccd5664d0e0f17f948f00680bf (patch) | |
tree | 0b52197049b50f6da543ae671eedc4cf4be9f317 /activerecord/test/migration_test.rb | |
parent | 72401dcbd61f419a2a5300149cd87918bbc4ce1d (diff) | |
download | rails-9b444fe73beaddccd5664d0e0f17f948f00680bf.tar.gz rails-9b444fe73beaddccd5664d0e0f17f948f00680bf.tar.bz2 rails-9b444fe73beaddccd5664d0e0f17f948f00680bf.zip |
Rollback [6961] which breaks SQLite tests. Reference #7345.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6965 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/migration_test.rb')
-rw-r--r-- | activerecord/test/migration_test.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/activerecord/test/migration_test.rb b/activerecord/test/migration_test.rb index fa765a7017..d1e2059c9a 100644 --- a/activerecord/test/migration_test.rb +++ b/activerecord/test/migration_test.rb @@ -807,22 +807,6 @@ if ActiveRecord::Base.connection.supports_migrations? end end - def test_should_disallow_duplicate_column_definition - assert_raises(ActiveRecord::StatementInvalid) do - Person.connection.add_column("people", "full_name", :string, :limit => 40) - Person.connection.add_column("people", "full_name", :text) - end - - assert_raises(RuntimeError) do - Person.connection.create_table :people_with_errors do |t| - t.column "full_name", :string, :limit => 40 - t.column "full_name", :text - end - end - - Person.reset_column_information - end - end end |