diff options
author | Anupam Choudhury <contact2anupam@gmail.com> | 2013-03-22 18:14:46 +0530 |
---|---|---|
committer | Anupam Choudhury <contact2anupam@gmail.com> | 2013-03-22 18:14:46 +0530 |
commit | c9890731f8120b1fd57675cfd506a3268e60ccd6 (patch) | |
tree | 8691f192baa2defc5d7440ce5dc32a675995e4f1 /activerecord/test | |
parent | 7748d64a76ae140cb80cd54d183bc1f94c192b9d (diff) | |
download | rails-c9890731f8120b1fd57675cfd506a3268e60ccd6.tar.gz rails-c9890731f8120b1fd57675cfd506a3268e60ccd6.tar.bz2 rails-c9890731f8120b1fd57675cfd506a3268e60ccd6.zip |
Removed unnecessary block
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/adapters/mysql2/active_schema_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/test/cases/adapters/mysql2/active_schema_test.rb b/activerecord/test/cases/adapters/mysql2/active_schema_test.rb index a83399d0cd..978c8af02f 100644 --- a/activerecord/test/cases/adapters/mysql2/active_schema_test.rb +++ b/activerecord/test/cases/adapters/mysql2/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') |