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

Compatible with rspec 2.4.x or newer? #1

Closed stevecj closed 11 years ago

stevecj commented 11 years ago

Currently, rspec-multi-mock requires rspec ~> 2.3.0, which means that it cannot be installed in a bundle with rspec 2.4.x or newer. I am hoping to use it in a project that currently uses rspec 2.10.0.

This project has old Test::Unit tests using Mocha and RSpec specs using RSpec mocks. Unfortunately, it turns out that depending the order in which the specs run, Mocha failures to be reported in RSpec even though Mocha is not in a bundler group that is being loaded for RSpec. This is apparently because Rails testing support explicitly attempts to require Mocha.

endeepak commented 11 years ago

Hi, I've released a newer version of the gem 0.2.1. This can be used with newer versions of rspec.

stevecj commented 11 years ago

Thanks :)