Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed unnecessary block

  • Loading branch information...
commit c9890731f8120b1fd57675cfd506a3268e60ccd6 1 parent 7748d64
@anupamc anupamc 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.