endeepak / rspec-multi-mock

Allows multiple mock frameworks to be in action in RSpec (With no monkey patching on Rspec)
https://github.com/endeepak/rspec-multi-mock
MIT License
21 stars 5 forks source link

Update to fix global methods in mocha #8

Closed matthewmcgarvey closed 2 years ago

matthewmcgarvey commented 2 years ago

I get that this is a super old library and you have long moved on from it, but I thought I'd make this PR fixing Mocha as I am currently going through this migration process from Mocha to rspec-mocks.

Without including Mocha::API you can't use mock in your specs.

matthewmcgarvey commented 2 years ago

Don't think this actually ended up fixing our spec issues. Don't want anyone to think it's the one solution