Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #9867 from choudhuryanupam/fix_mysql2_active_schem…

…a_test

Removed unnecessary block
  • Loading branch information...
commit 39c26bcace37eea9ed1201e7a5297f407a43ccb9 2 parents f34c226 + c989073
@carlosantoniodasilva carlosantoniodasilva authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  activerecord/test/cases/adapters/mysql2/active_schema_test.rb
View
3  activerecord/test/cases/adapters/mysql2/active_schema_test.rb
@@ -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.