Forgot to mention: error only occurs when running tests using rake.
The following passes:
$ ruby test/controller/helper_test.rb
On Thursday 14 April 2005 05:49 pm, Micah Alles wrote:> I recently checked out http://dev.rubyonrails.org/svn/rails/trunk (revision
> 1166) and encountered an error in the actionpack unit tests:
>
> 1) Error:
> test_helper_for_nested_controller(HelperTest):
> NameError: undefined local variable or method `stratego'' for
> #<HelperTest::TestA8View:0xb782fd2c>
> (erb):1:in `evaluate_locals''
> ./test/controller/../../lib/action_view/base.rb:265:in
> `evaluate_locals''
./test/controller/../../lib/action_view/base.rb:275:in
> `rhtml_render''
./test/controller/../../lib/action_view/base.rb:201:in
> `send''
> ./test/controller/../../lib/action_view/base.rb:201:in
> `render_template''
> ./test/controller/../../lib/action_controller/base.rb:466:in
> `render_template''
> ./test/controller/helper_test.rb:13:in `render_hello_world''
> ./test/controller/../../lib/action_controller/base.rb:700:in
`send''
> ./test/controller/../../lib/action_controller/base.rb:700:in
> `perform_action_without_filters''
> ./test/controller/../../lib/action_controller/filters.rb:294:in
> `perform_action_without_benchmark''
> ./test/controller/../../lib/action_controller/benchmarking.rb:32:in
> `perform_action_without_rescue''
> ./test/controller/../../lib/action_controller/rescue.rb:79:in
> `perform_action''
> ./test/controller/../../lib/action_controller/base.rb:330:in
`send''
> ./test/controller/../../lib/action_controller/base.rb:330:in
`process''
> ./test/controller/../../lib/action_controller/base.rb:273:in
`process''
> ./test/controller/helper_test.rb:120:in
> `test_helper_for_nested_controller''
>
> Is this par for the course on the trunk due to ongoing development, or more
> likely due to my environment in some way?
--
Micah Alles micah-T1YOP9nF7vWQ0r5V5wSIsA@public.gmane.org
616-776-6020
Software Journeyman Atomic Object LLC
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails