[openstreetmap-website] rake test's failures and errors (#56)
Sergey Shilov
sss at s-s-s.ru
Fri Jul 20 13:56:10 BST 2012
You were right again, Tom :)
When I have returned the value of "generator" back there were only errors
#link called at /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.2.6/lib/action_view/helpers/atom_feed_helper.rb:146:in `__send__'
E..........................................................................................................................................................................................
Finished in 141.374701 seconds.
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___1197420984_17571254680'
app/views/changeset/list.atom.builder:24:in `_app_views_changeset_list_atom_builder___1197420984_17571254680'
app/views/changeset/list.atom.builder:23:in `_app_views_changeset_list_atom_builder___1197420984_17571254680'
app/views/changeset/list.atom.builder:4:in `_app_views_changeset_list_atom_builder___1197420984_17571254680'
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___1197420984_17571254680'
app/views/changeset/list.atom.builder:24:in `_app_views_changeset_list_atom_builder___1197420984_17571254680'
app/views/changeset/list.atom.builder:23:in `_app_views_changeset_list_atom_builder___1197420984_17571254680'
app/views/changeset/list.atom.builder:4:in `_app_views_changeset_list_atom_builder___1197420984_17571254680'
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'
270 tests, 3354 assertions, 0 failures, 2 errors
Thank you,
Sergey
Вы писали 20 июля 2012 г., 14:55:02:
TH> 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'
TH> These two are expected when running under ruby 1.8 as they're caused by
TH> some sort of weird rake symbol clash that only happens with 1.8 and also
TH> only when running under rake for the tests.
TH> Not sure what is causing the others - they don't happen for me.
TH> The only thing I can think would be if you changed the value of
TH> "generator" in config/application.yml?
TH> Tom
More information about the rails-dev
mailing list