mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #23825 from kamipo/remove_needless_drop_table_test_limits
Remove needless `drop_table :test_limits`
This commit is contained in:
commit
9cf5fa6406
1 changed files with 0 additions and 3 deletions
|
@ -587,7 +587,6 @@ class MigrationTest < ActiveRecord::TestCase
|
|||
|
||||
if current_adapter?(:Mysql2Adapter, :PostgreSQLAdapter)
|
||||
def test_out_of_range_limit_should_raise
|
||||
Person.connection.drop_table :test_limits rescue nil
|
||||
e = assert_raise(ActiveRecord::ActiveRecordError, "integer limit didn't raise") do
|
||||
Person.connection.create_table :test_integer_limits, :force => true do |t|
|
||||
t.column :bigone, :integer, :limit => 10
|
||||
|
@ -603,8 +602,6 @@ class MigrationTest < ActiveRecord::TestCase
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
Person.connection.drop_table :test_limits rescue nil
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue