Remove needless drop_table :test_limits
A `:test_limits` table has not been created.
This commit is contained in:
parent
42ad173d19
commit
43c2055f61
@ -587,7 +587,6 @@ def test_create_table_with_custom_sequence_name
|
||||
|
||||
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 @@ def test_out_of_range_limit_should_raise
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Person.connection.drop_table :test_limits rescue nil
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user