aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-02-23 23:54:29 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-02-23 23:54:29 +0900
commit43c2055f61d2a2726b40fb0fb56270752b724064 (patch)
tree19bf5d2a140479bffdb682df5f733b7913f3793f /activerecord
parent42ad173d19a2220996ec4172d05681bde2e7320b (diff)
downloadrails-43c2055f61d2a2726b40fb0fb56270752b724064.tar.gz
rails-43c2055f61d2a2726b40fb0fb56270752b724064.tar.bz2
rails-43c2055f61d2a2726b40fb0fb56270752b724064.zip
Remove needless `drop_table :test_limits`
A `:test_limits` table has not been created.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/migration_test.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb
index bae0467e72..5a83748292 100644
--- a/activerecord/test/cases/migration_test.rb
+++ b/activerecord/test/cases/migration_test.rb
@@ -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