Displaying 2 results from an estimated 2 matches for "routingtest".
Did you mean:
routing_test
2006 Jun 28
2
simply_restful plugin tests failing???
...ils test
>cd test
>rake rails:freeze:edge
>./script/plugin install simply_restful
>ruby vendor/plugins/simply_restful/test/routing_test.rb
Loaded suite vendor/plugins/simply_restful/test/routing_test
Started
FFFFF
Finished in 0.083095 seconds.
1) Failure:
test_default_restful_routes(RoutingTest)
[/Users/zackchandler/dev/tmp/test/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/option_merger.rb:14:in
`method_missing''
vendor/plugins/simply_restful/test/routing_test.rb:61:in
`assert_restful_routes_for''
/Users/zackchandler/dev/tmp/...
2006 Mar 26
2
Controllers in modules, not recognised - driving me mad!
...ff
end
end
Now, this should be automatically picked up by Rails as
http://myapp/admin/dashboard and http://myapp/admin/dashboard/index -
but they aren''t, 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
=> '&...