Skip to content

Commit

Permalink
Define deprecated MiniTest constant for Mocha
Browse files Browse the repository at this point in the history
  • Loading branch information
janko committed Oct 3, 2023
1 parent 898899c commit 4fe8fdf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
require "minitest/spec"
require "minitest/pride"

# Mocha still references the old constant
MiniTest = Minitest unless defined?(MiniTest)
require "mocha/minitest"

require_relative "support/deprecated_helper"
Expand Down

0 comments on commit 4fe8fdf

Please sign in to comment.