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

move minitest to the correct namespace #320

Closed
wants to merge 1 commit into from

Conversation

grosser
Copy link
Contributor

@grosser grosser commented Jan 28, 2018

had to open the gem to figure out why require 'mocha/minitest' did not work :(
... just a quickfix, proper move should happen in the next major release ...

@floehopper

@floehopper
Copy link
Member

@grosser:

Thanks for the PR. I can see why this is surprising, although, in my defence, I think the problem originally lay with minitest, because the namespace was originally MiniTest. Also the correct require statement is mentioned several times in the Mocha README, e.g. here, here & here, so no need to open the gem source.

I think I might fix the problem by adding the mocha/mini_test.rb file, but leaving mocha/minitest.rb in place, but with a deprecation warning. What do you think?

@grosser
Copy link
Contributor Author

grosser commented Jan 28, 2018 via email

@floehopper
Copy link
Member

Yes - sorry I got that the wrong way round. I should have said:

I think I might fix the problem by adding a mocha/minitest.rb file, but leaving mocha/mini_test.rb in place, but with a deprecation warning and requiring the new mocha/minitest.rb file to avoid duplication. What do you think?

@grosser
Copy link
Contributor Author

grosser commented Jan 28, 2018 via email

@floehopper
Copy link
Member

Addressed in #322. Closing.

@floehopper floehopper closed this Feb 11, 2018
@floehopper
Copy link
Member

@grosser I've just released v1.4.0 which includes the fix for this. Let me know if you run into any problems with it.

@grosser
Copy link
Contributor Author

grosser commented Mar 20, 2018 via email

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.

None yet

2 participants