I have seen similar issues with ruby 1.8.7, it's always related to  
coersing things to arrays. The ruby C code for array sends a second  
param through, which is in the language spec just not widely used.

Does uninstalling mocha, or using 1.8.6 make all of them go away? If  
so I'll try and dig out my old mocha patches.

Hope this is of help.


On 31 Oct 2008, at 01:02, Gary Gabriel <[EMAIL PROTECTED]> wrote:

>
> Hi, I'm new here.  I just cloned the rails git repository and tried to
> run all tests without making any changes.  Some tests failed, like
> below.  Is anyone else seeing this or is it something with my
> environment?  I'm on Mac OS 10.5, ruby 1.8.7.
>
>  1) Error:
> test_error_messages_for_given_a_header_option_it_does_not_translate_header_message(
>  
> ActiveRecordHelperI18nTest):
> ArgumentError: wrong number of arguments (2 for 1)
>    ./test/../lib/action_view/helpers/active_record_helper.rb:174:in
> `respond_to?'
>    ./test/../lib/action_view/helpers/active_record_helper.rb:174:in
> `flatten'
>    ./test/../lib/action_view/helpers/active_record_helper.rb:174:in
> `error_messages_for'
>    ./test/template/active_record_helper_i18n_test.rb:19:in
> `test_error_messages_for_given_a_header_option_it_does_not_translate_header_message'
>    ./test/../../activesupport/lib/active_support/testing/
> setup_and_teardown.rb:94:in `__send__'
>    ./test/../../activesupport/lib/active_support/testing/
> setup_and_teardown.rb:94:in `run'
>
> Thanks!
>
> -Gary
>
> >

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to