Sha256: 84970a547ebbdba16b16d6dbee2b877af818b584c3a7de6f5c28458f70505f80
Contents?: true
Size: 852 Bytes
Versions: 2
Compression:
Stored size: 852 Bytes
Contents
require "spec_helper" describe TaskTypesController do describe "routing" do it "routes to #index" do get("/task_types").should route_to("task_types#index") end it "routes to #new" do get("/task_types/new").should route_to("task_types#new") end it "routes to #show" do get("/task_types/1").should route_to("task_types#show", :id => "1") end it "routes to #edit" do get("/task_types/1/edit").should route_to("task_types#edit", :id => "1") end it "routes to #create" do post("/task_types").should route_to("task_types#create") end it "routes to #update" do put("/task_types/1").should route_to("task_types#update", :id => "1") end it "routes to #destroy" do delete("/task_types/1").should route_to("task_types#destroy", :id => "1") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
guara-0.0.3 | spec/routing/task_types_routing_spec.rb |
guara-0.0.1.rc | spec/routing/task_types_routing_spec.rb |