Forum: Ruby-Forum.com Tests are failing in latest checkout

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
0b0a37579ca6ce13e6311b23cd0c999c?d=identicon&s=25 Prakash Subramaniam (prakash)
on 2008-05-09 07:41
Hi,

We are trying to use latest RForum codebase that downloaded from darcs
repos (darcs get http://darcs.andreas-s.net/rforum).

We installed latest ferret engine.

There are bunch of unit and functional tests failing. Is this expected
(as in tests are not maintained?) or we are missing something?

Some sample test failures are below. Does anybody have any idea why this
is happening?

Pls help ASAP. :)

Thanks

Sample test failures:

1) Error:
test_rebuild_index(SearchFerretTest):
NameError: undefined local variable or method `configuration' for
Post:Class
    /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1235:in
`method_missing'
    /home/harini/rforum/vendor/plugins/acts_as_ferret/lib/class_methods.rb:178:in
`rebuild_index'
    /home/harini/rforum/test/unit/search_ferret_test.rb:9:in
`setup_without_fixtures'
    /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/fixtures.rb:576:in
`setup'

 2) Error:
test_setup_user(ApplicationControllerTest):
NameError: undefined local variable or method `template_objects' for
#<ApplicationControllerTest:0xb764dfe0>
    /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/test_process.rb:452:in
`method_missing'
    ./test/functional/application_controller_test.rb:38:in
`test_setup_user'

  3) Failure:
test_forum(ForumControllerTest)
[./test/functional/forum_controller_test.rb:42]:
<["/topic/1#new", "/topic/2#new"]> expected but was
<[]>.

 4) Failure:
test_tag(ForumControllerTest)
[./test/functional/forum_controller_test.rb:77]:
<[1]> expected but was
<[2, 1]>.

  5) Failure:
test_show_reply_form(TopicControllerTest)
    [./test/functional/topic_controller_test.rb:505:in
`assert_matches_all'
     /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/inflector.rb:250:in
`each_with_index'
     ./test/functional/topic_controller_test.rb:504:in `each'
     ./test/functional/topic_controller_test.rb:504:in `each_with_index'
     ./test/functional/topic_controller_test.rb:504:in
`assert_matches_all'
     ./test/functional/topic_controller_test.rb:72:in
`test_show_reply_form']:
<""> expected to be =~
</<input name='dummy'/>.
This topic is locked and can not be replied to.