Skip to content

Commit

Permalink
Fix depreciation MiniTest::Unit.after_tests is now Minitest.after_run (
Browse files Browse the repository at this point in the history
  • Loading branch information
barnaclebarnes authored May 1, 2024
1 parent 540ed03 commit 767140e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/skooma/minitest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def assert_is_valid_document(document)
def initialize(openapi_path, **params)
super(HelperMethods, openapi_path, **params)

MiniTest::Unit.after_tests { coverage.report }
MiniTest.after_run { coverage.report }
end
end
end

0 comments on commit 767140e

Please sign in to comment.