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

Updated to work with rspec 3 #3

Closed ebmeierj closed 6 years ago

ebmeierj commented 6 years ago

I've updated the code to work with rspec 3. There may be more updates that are needed - but the project I'm using this on now supports both rr and rspec syntax.

ebmeierj commented 6 years ago

@endeepak I'm not exactly sure how to fix those tests. We use the 'expect' syntax in rspec. Would you be willing to provide any assistance on them?

endeepak commented 6 years ago

@ebmeierj Thanks for the PR. I will check it out

endeepak commented 6 years ago

@ebmeierj I've fixed the tests and released a new version with your changes. Removed support for not_a_mock as it doesn't seem to work with rspec 3.x. Please try the new version https://rubygems.org/gems/rspec-multi-mock/versions/0.3.0