search for: sidebarcontroller

Displaying 2 results from an estimated 2 matches for "sidebarcontroller".

2006 May 24
0
Routes recognition problem
...munity/input_controller.rb /app/controllers/community/sidebar_controller.rb Each of those controllers is declared with the appropriate module like so class Admin::NewController < ApplicationController # ... end class Admin::ListController < ApplicationController # ... end class Admin::SidebarController < ApplicationController # ... end class Community::InputController < ApplicationController # ... end class Community::SidebarController < ApplicationController # ... end I have the following subdirectories in app/helpers app/helpers/admin app/helpers/community along with helper...
2006 Jan 14
0
testing template components
...ugh the template section of "Agile Rails", specifically the stuff starting on P. 364. What is a good strategy for testing components? My initial thought is to mimic the Rails application "test" directory. 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...