diff options
author | Anupam Choudhury <contact2anupam@gmail.com> | 2013-03-20 21:02:21 +0530 |
---|---|---|
committer | Anupam Choudhury <contact2anupam@gmail.com> | 2013-03-20 21:02:21 +0530 |
commit | 5f7c3515ee11b6d5eb61edcc614891a23b31a88b (patch) | |
tree | 54d5062549ec7d39f0779c5561d6211ac6289cb1 /activerecord/test | |
parent | c81dc8e373143be00cccb60c3ba4af4228274962 (diff) | |
download | rails-5f7c3515ee11b6d5eb61edcc614891a23b31a88b.tar.gz rails-5f7c3515ee11b6d5eb61edcc614891a23b31a88b.tar.bz2 rails-5f7c3515ee11b6d5eb61edcc614891a23b31a88b.zip |
Removed unnecessary block
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/adapters/mysql/active_schema_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/test/cases/adapters/mysql/active_schema_test.rb b/activerecord/test/cases/adapters/mysql/active_schema_test.rb index 8812cf1b7d..5d71effb1f 100644 --- a/activerecord/test/cases/adapters/mysql/active_schema_test.rb +++ b/activerecord/test/cases/adapters/mysql/active_schema_test.rb @@ -70,8 +70,7 @@ class ActiveSchemaTest < ActiveRecord::TestCase def test_add_timestamps with_real_execute do begin - ActiveRecord::Base.connection.create_table :delete_me do |t| - end + ActiveRecord::Base.connection.create_table :delete_me ActiveRecord::Base.connection.add_timestamps :delete_me assert column_present?('delete_me', 'updated_at', 'datetime') assert column_present?('delete_me', 'created_at', 'datetime') |