search for: test_setup

Displaying 1 result from an estimated 1 matches for "test_setup".

Did you mean: test_set
2006 Jan 14
0
testing template components
...ctory. No problem. Next copy the setup method, and set it up like so - class SidebarControllerTest < Test::Unit::TestCase def setup @controller = Navigation::Sidebar.new @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new end def test_setup assert true end end Nope, that throws an error that makes me think I am headed in the wrong direction- 1) Error: test_get_menu(SidebarControllerTest): NoMethodError: undefined method `new'' for Navigation::Sidebar:Dependencies::LoadingModule functional/sidebarTest.rb:9:in `se...