Displaying 1 result from an estimated 1 matches for "test_admin_rout".
2006 Mar 26
2
Controllers in modules, not recognised - driving me mad!
...I get routing errors.
I also have the following test:
require File.dirname(__FILE__) + ''/../test_helper''
class RoutingTest < Test::Unit::TestCase
def setup
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
end
def test_admin_routing
assert_routing ''/admin'', :controller => ''admin/dashboard'', :action
=> ''index''
assert_routing ''/admin/dashboard'', :controller =>
''admin/dashboard'', :action => ''index''...