Mocking with rspec and mocha together
integration-testing, mocha.js, rspec, ruby-on-rails
Solution
I have published a new gem for this. You can find more details here -> http://github.com/endeepak/rspec-multi-mock
Problem
For a test suite that's already using mocha for mocking, can new tests be written with rspec mocking? maybe turn that on before(:all) and turn it back to mocha after(:all) I tried changing the Spec::Runner configuration at run-time and that didn't seem to work with mocking