Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert change to features/routing_specs/README.md - the documentation…

… for #route_to is sufficient
  • Loading branch information...
commit 9abdc0a588a78d3cd50bb58ce719ce72f9af34e1 1 parent 7579c6e
@justinko justinko authored
Showing with 1 addition and 14 deletions.
  1. +1 −14 features/routing_specs/README.md
View
15 features/routing_specs/README.md
@@ -14,17 +14,4 @@ customized routes, like vanity links, slugs, etc.
They are also valuable for routes that should not be available:
- { :delete => "/accounts/37" }.should_not be_routable
-
-## Specifying matched routes
-
-When using the `#route_to` matcher, you can specify the expected route using a
-hash or a string, and it will be parsed:
-
- route_to("controller#action")
- route_to("namespaced/controller#action")
- route_to(:controller => "controller",
- :action => "action",
- :params => "params")
- route_to(:controller => "namespaced/controller",
- :action => "action")
+ { :delete => "/accounts/37" }.should_not be_routable

3 comments on commit 9abdc0a

@jredville

What would you like to see here? I thought that it was clear with the terms inside (route_to("controller#action")), but I can rewrite it to expand it or go more in depth

@justinko

Nothing wrong with what you had. I just don't think the README should go in depth - that's what the rdoc and cukes are for. The README should really just be an overview. Checkout features/model_specs/README.md for reference.

@jredville

Ok, makes sense

Please sign in to comment.
Something went wrong with that request. Please try again.