Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
Showing with 1 addition and 2 deletions.
  1. +1 −2  activerecord/test/cases/adapters/mysql/active_schema_test.rb
3  activerecord/test/cases/adapters/mysql/active_schema_test.rb
View
@@ -70,8 +70,7 @@ def test_drop_table_with_specific_database
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')
Please sign in to comment.
Something went wrong with that request. Please try again.