Sha256: 8fd877dbd82049b9ca43c3de8a5d0941aeea59a42f2aa8bf338422636320573e
Contents?: true
Size: 882 Bytes
Versions: 68
Compression:
Stored size: 882 Bytes
Contents
require "spec_helper" describe BudgetTypesController do describe "routing" do it "routes to #index" do get("/budget_types").should route_to("budget_types#index") end it "routes to #new" do get("/budget_types/new").should route_to("budget_types#new") end it "routes to #show" do get("/budget_types/1").should route_to("budget_types#show", :id => "1") end it "routes to #edit" do get("/budget_types/1/edit").should route_to("budget_types#edit", :id => "1") end it "routes to #create" do post("/budget_types").should route_to("budget_types#create") end it "routes to #update" do put("/budget_types/1").should route_to("budget_types#update", :id => "1") end it "routes to #destroy" do delete("/budget_types/1").should route_to("budget_types#destroy", :id => "1") end end end
Version data entries
68 entries across 66 versions & 2 rubygems