search for: toggle_notification

Displaying 1 result from an estimated 1 matches for "toggle_notification".

2007 Jun 12
4
advice on new failures with 0.5.0
Hi all, We just updated to the latest version of Mocha and now we''re seeing a lot of odd test failures. If this isn''t the appropriate place for a question like this, please let me know. Say I have code like this in a controller: DataMonitor.toggle_notification! And I mock it like this: DataMonitor.any_instance.stubs(:toggle_notification!) This would work fine with Mocha 0.4.0, but with 0.5.0 it looks like Mocha is differentiating between a method call with parenthesis to one without parenthesis. I don''t really understand how this could...