diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-03-22 07:51:11 -0700 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-03-22 07:51:11 -0700 |
commit | 39c26bcace37eea9ed1201e7a5297f407a43ccb9 (patch) | |
tree | 87514aa9aa38c0dbbfd51ff09531796cd7f2f15d /activerecord/test/cases/adapters | |
parent | f34c226df50c8c17029dc533b7c96a82565a2519 (diff) | |
parent | c9890731f8120b1fd57675cfd506a3268e60ccd6 (diff) | |
download | rails-39c26bcace37eea9ed1201e7a5297f407a43ccb9.tar.gz rails-39c26bcace37eea9ed1201e7a5297f407a43ccb9.tar.bz2 rails-39c26bcace37eea9ed1201e7a5297f407a43ccb9.zip |
Merge pull request #9867 from choudhuryanupam/fix_mysql2_active_schema_test
Removed unnecessary block
Diffstat (limited to 'activerecord/test/cases/adapters')
-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') |