Displaying 1 result from an estimated 1 matches for "test_get_menu".
Did you mean:
test_get_len
2006 Jan 14
0
testing template components
...etup
@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 `setup_without_fixtures''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/fixtures.rb:523:in
`setup''...