ActionPack tests fail in edge with latest Mocha

1 view
Skip to first unread message

Rob Sanheim

Jan 24, 2007, 5:05:32 AM1/24/07

ActionPack tests fail on edge if you are running the latest Mocha
(0.4). This is only when running the full suite via rake, not when
running the specific test class (base_test.rb) in isolation. I have
no idea why the discrepancy.

Here's a patch to fix it - its very minor and just due to an api
change in mocha.

- Rob

James Mead

Jan 24, 2007, 5:26:18 AM1/24/07
Sorry about the Mocha API change - I forgot Kevin had to hide Mocha-related methods in that test. I just thought I'd let you know, it's high on our todo list to reduce the footprint of Mocha i.e. the number of public methods that get added to Object. We also hope to provide a way of "un-Mochifying" an object. This would hopefully mean you wouldn't need the hide_mocha_methods_from_controller method.

Reply all
Reply to author
0 new messages