-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mocha/minitest issue in test_helper.rb #1149
Comments
It is probably better to add min and max versions of mocha to the If you really want to wrap it in a begin
require 'mocha/minitest'
rescue LoadError => e
raise unless e.message =~ /minitest/
require 'mocha/mini_test'
end |
I wanted to add here that the That said, as far as I can tell, the only place where Instead of wrapping the |
Depending on which versions bundler would have installed it can happen to run into mocha#324
we would need to investigate that as to make this library as simple as possible
a quick fix would be
The text was updated successfully, but these errors were encountered: