RSpec/Mocha compatibility

Posted by James Mead Wed, 04 Apr 2007 16:11:00 GMT

The RSpec team have just announced a beta version of their pending 0.9 release.

Apparently…

You can now use Mocha by saying

config.mock_with :mocha
in a
spec_helper

Sounds good :-)

Tags , , , , ,  | 2 comments

Comments

  1. Roman Gonzalez said 39 days later:

    There is a problem when you use mocha with rspec, it seems that response.should be_xxx does not work, cause they are rspec mock objects… that kinda sucks :-(

  2. James Mead said 42 days later:

    Sorry to hear that. Personally I don’t use RSpec and hence don’t know much about its internals. So you’d be better off asking about this on the RSpec mailing list

Comments are disabled