Permalink
Browse files

Silence another test that runs migrations

  • Loading branch information...
1 parent 9c76381 commit 9bb495e6ae4de6d8c22f5e0cf81fbd86d95362e2 @amatsuda amatsuda committed Aug 29, 2014
Showing with 5 additions and 0 deletions.
  1. +5 −0 activerecord/test/cases/invertible_migration_test.rb
@@ -122,12 +122,17 @@ def change
end
end
+ setup do
+ @verbose_was, ActiveRecord::Migration.verbose = ActiveRecord::Migration.verbose, false
+ end
+
teardown do
%w[horses new_horses].each do |table|
if ActiveRecord::Base.connection.table_exists?(table)
ActiveRecord::Base.connection.drop_table(table)
end
end
+ ActiveRecord::Migration.verbose = @verbose_was
end
def test_no_reverse

0 comments on commit 9bb495e

Please sign in to comment.