Permalink
Browse files

Merge pull request #9833 from choudhuryanupam/fix_active_schema_test

Removed unnecessary block
  • Loading branch information...
2 parents 9d8ac71 + 5f7c351 commit acb78c27e868d2b30d89fceb912b353169f1fd1d @carlosantoniodasilva carlosantoniodasilva committed Mar 20, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 activerecord/test/cases/adapters/mysql/active_schema_test.rb
View
3 activerecord/test/cases/adapters/mysql/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')

0 comments on commit acb78c2

Please sign in to comment.