# Tests are failing in latest checkout

**URL:** <https://www.ruby-forum.com/t/tests-are-failing-in-latest-checkout/137132>\
**Category:** Ruby-Forum\
**Created:** [May 9, 2008, 7:41am UTC](https://www.ruby-forum.com/t/tests-are-failing-in-latest-checkout/137132 "2008-05-09T07:41:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prakash](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3be4f8/32.png) [@prakash](https://www.ruby-forum.com/u/prakash)\
**Post date:** [May 9, 2008, 7:41am UTC](https://www.ruby-forum.com/t/tests-are-failing-in-latest-checkout/137132/1 "2008-05-09T07:41:55Z")

</div>

Hi,

We are trying to use latest RForum codebase that downloaded from darcs  
repos (darcs get [http://darcs.andreas-s.net/rforum](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 =~  
\</.
