Commit f8144bd37766fbd815ccc6d7de6b48f17d3fbf65
1 parent
db7e0bf8
Exists in
master
and in
4 other branches
add help/raketasks to routing spec
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
spec/routing/routing_spec.rb
| @@ -33,6 +33,7 @@ end | @@ -33,6 +33,7 @@ end | ||
| 33 | # help_system_hooks GET /help/system_hooks(.:format) help#system_hooks | 33 | # help_system_hooks GET /help/system_hooks(.:format) help#system_hooks |
| 34 | # help_markdown GET /help/markdown(.:format) help#markdown | 34 | # help_markdown GET /help/markdown(.:format) help#markdown |
| 35 | # help_ssh GET /help/ssh(.:format) help#ssh | 35 | # help_ssh GET /help/ssh(.:format) help#ssh |
| 36 | +# help_raketasks GET /help/raketasks(.:format) help#raketasks | ||
| 36 | describe HelpController, "routing" do | 37 | describe HelpController, "routing" do |
| 37 | it "to #index" do | 38 | it "to #index" do |
| 38 | get("/help").should route_to('help#index') | 39 | get("/help").should route_to('help#index') |
| @@ -65,6 +66,10 @@ describe HelpController, "routing" do | @@ -65,6 +66,10 @@ describe HelpController, "routing" do | ||
| 65 | it "to #ssh" do | 66 | it "to #ssh" do |
| 66 | get("/help/ssh").should route_to('help#ssh') | 67 | get("/help/ssh").should route_to('help#ssh') |
| 67 | end | 68 | end |
| 69 | + | ||
| 70 | + it "to #raketasks" do | ||
| 71 | + get("/help/raketasks").should route_to('help#raketasks') | ||
| 72 | + end | ||
| 68 | end | 73 | end |
| 69 | 74 | ||
| 70 | # errors_githost GET /errors/githost(.:format) errors#githost | 75 | # errors_githost GET /errors/githost(.:format) errors#githost |