Skip to content
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

Require 'mocha/test_unit' instead of 'mocha/setup' #730

Merged
merged 1 commit into from
Nov 4, 2021

Conversation

mishina2228
Copy link
Contributor

It suppresses the following deprecation warning:

Mocha deprecation warning at /home/runner/work/resque-scheduler/resque-scheduler/test/test_helper.rb:6:in `require': Require 'mocha/test_unit', 'mocha/minitest' or 'mocha/api' instead of 'mocha/setup'.

It suppresses the following deprecation warning:

```
Mocha deprecation warning at /home/runner/work/resque-scheduler/resque-scheduler/test/test_helper.rb:6:in `require': Require 'mocha/test_unit', 'mocha/minitest' or 'mocha/api' instead of 'mocha/setup'.
```
@iloveitaly iloveitaly merged commit 58c9b8b into resque:master Nov 4, 2021
@mishina2228 mishina2228 deleted the fix-mocha branch November 5, 2021 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants