Skip to content
This repository
Browse code

Merge pull request #9833 from choudhuryanupam/fix_active_schema_test

Removed unnecessary block
  • Loading branch information...
commit acb78c27e868d2b30d89fceb912b353169f1fd1d 2 parents 9d8ac71 + 5f7c351
Carlos Antonio da Silva carlosantoniodasilva authored
3  activerecord/test/cases/adapters/mysql/active_schema_test.rb
@@ -70,8 +70,7 @@ def test_drop_table_with_specific_database
70 70 def test_add_timestamps
71 71 with_real_execute do
72 72 begin
73   - ActiveRecord::Base.connection.create_table :delete_me do |t|
74   - end
  73 + ActiveRecord::Base.connection.create_table :delete_me
75 74 ActiveRecord::Base.connection.add_timestamps :delete_me
76 75 assert column_present?('delete_me', 'updated_at', 'datetime')
77 76 assert column_present?('delete_me', 'created_at', 'datetime')

0 comments on commit acb78c2

Please sign in to comment.
Something went wrong with that request. Please try again.