[openstreetmap-website] rake test's failures and errors (#56)

Tom Hughes tom at compton.nu
Fri Jul 20 11:55:02 BST 2012


On 20/07/12 09:58, s-s-s wrote:

>    1) Error:
> test_feed(ChangesetControllerTest):
> ActionView::Template::Error: wrong number of arguments (1 for 2)
>      app/views/changeset/list.atom.builder:25:in `_app_views_changeset_list_atom_builder___861221088_17571292720'
>      app/views/changeset/list.atom.builder:24:in `_app_views_changeset_list_atom_builder___861221088_17571292720'
>      app/views/changeset/list.atom.builder:23:in `_app_views_changeset_list_atom_builder___861221088_17571292720'
>      app/views/changeset/list.atom.builder:4:in `_app_views_changeset_list_atom_builder___861221088_17571292720'
>      app/controllers/changeset_controller.rb:335:in `list'
>      app/controllers/changeset_controller.rb:342:in `feed'
>      app/controllers/application_controller.rb:330:in `web_timeout'
>      app/controllers/application_controller.rb:329:in `web_timeout'
>      test/functional/changeset_controller_test.rb:1767:in `test_feed'
>
>    2) Error:
> test_feed_user(ChangesetControllerTest):
> ActionView::Template::Error: wrong number of arguments (1 for 2)
>      app/views/changeset/list.atom.builder:25:in `_app_views_changeset_list_atom_builder___861221088_17571292720'
>      app/views/changeset/list.atom.builder:24:in `_app_views_changeset_list_atom_builder___861221088_17571292720'
>      app/views/changeset/list.atom.builder:23:in `_app_views_changeset_list_atom_builder___861221088_17571292720'
>      app/views/changeset/list.atom.builder:4:in `_app_views_changeset_list_atom_builder___861221088_17571292720'
>      app/controllers/changeset_controller.rb:335:in `list'
>      app/controllers/changeset_controller.rb:342:in `feed'
>      app/controllers/application_controller.rb:330:in `web_timeout'
>      app/controllers/application_controller.rb:329:in `web_timeout'
>      test/functional/changeset_controller_test.rb:1782:in `test_feed_user'

These two are expected when running under ruby 1.8 as they're caused by 
some sort of weird rake symbol clash that only happens with 1.8 and also 
only when running under rake for the tests.

Not sure what is causing the others - they don't happen for me.

The only thing I can think would be if you changed the value of 
"generator" in config/application.yml?

Tom

-- 
Tom Hughes (tom at compton.nu)
http://compton.nu/



More information about the rails-dev mailing list