Skip to content

Commit

Permalink
Add MiniTest fallback for Mocha
Browse files Browse the repository at this point in the history
  • Loading branch information
janko committed Jul 31, 2023
1 parent 58c7707 commit 5e8a01c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@

require "minitest/autorun"
require "minitest/pride"

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

require "shrine"
Expand Down

0 comments on commit 5e8a01c

Please sign in to comment.