On 24/01/07, Rob Sanheim <rsanheim@gmail.com>
wrote:>
> 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.
>
> http://dev.rubyonrails.org/ticket/7347
>
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.
--
James.
http://blog.floehopper.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-core-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---