Sha256: ddc05315ebc4e3701dc03fc584638567a1340210020b80a6dd89d514acf1bc94
Contents?: true
Size: 871 Bytes
Versions: 27
Compression:
Stored size: 871 Bytes
Contents
require 'rails_helper' describe CreateTypesController do describe "routing" do it "routes to #index" do get("/create_types").should route_to("create_types#index") end it "routes to #new" do get("/create_types/new").should route_to("create_types#new") end it "routes to #show" do get("/create_types/1").should route_to("create_types#show", id: "1") end it "routes to #edit" do get("/create_types/1/edit").should route_to("create_types#edit", id: "1") end it "routes to #create" do post("/create_types").should route_to("create_types#create") end it "routes to #update" do put("/create_types/1").should route_to("create_types#update", id: "1") end it "routes to #destroy" do delete("/create_types/1").should route_to("create_types#destroy", id: "1") end end end
Version data entries
27 entries across 27 versions & 1 rubygems