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

Unpin mocha version & fix deprecation warning #476

Merged
merged 1 commit into from
Jan 7, 2020

Conversation

floehopper
Copy link
Contributor

The regression introduced in mocha v1.10.0 which led to its version being pinned to v1.9.0 was fixed in mocha v1.11.2 which is currently the latest version, so it is now safe to unpin the version.

Requiring 'mocha/setup' was deprecated in v1.10.0, so I've also fixed that with the change to test/test_helper.rb.

Fixes Redmine issue 28420.

@theforeman-bot
Copy link
Member

Can one of the admins verify this patch?

@mmoll
Copy link
Contributor

mmoll commented Jan 4, 2020

ok to test

@mmoll
Copy link
Contributor

mmoll commented Jan 4, 2020

@floehopper Thanks, could you please prepend "Fixes #28420" to the commit message, then https://projects.theforeman.org/issues/28420 will be correctly handled.

The regression introduced in mocha v1.10.0 which led to its version
being pinned to v1.9.0 was fixed in mocha v1.11.2 which is currently the
latest version, so it is nowsafe to unpin the version.

Requiring 'mocha/setup' was deprecated in v1.10.0, so I've also fixed
that with the change to `test/test_helper.rb`.
@floehopper floehopper force-pushed the unpin-mocha-dependency branch from bc8caab to 70f1066 Compare January 4, 2020 18:51
@floehopper
Copy link
Contributor Author

@mmoll:

@floehopper Thanks, could you please prepend "Fixes #28420" to the commit message, then https://projects.theforeman.org/issues/28420 will be correctly handled.

Done & force-pushed.

@shiramax shiramax merged commit c70052c into theforeman:master Jan 7, 2020
@floehopper floehopper deleted the unpin-mocha-dependency branch January 7, 2020 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants