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