Skip to content

Commit

Permalink
Cleanup CaptureWarnings after_run
Browse files Browse the repository at this point in the history
  • Loading branch information
bf4 committed Aug 21, 2015
1 parent 8a5e82f commit 179cdc9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
require 'capture_warnings'
@capture_warnings = CaptureWarnings.new(fail_build = false)
@capture_warnings.before_tests
at_exit do
Minitest.after_run do
@capture_warnings.after_tests
end

require 'active_model_serializers'

require 'support/stream_capture'
Expand Down

0 comments on commit 179cdc9

Please sign in to comment.