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