Sha256: b2f431fa0d27679f2c8c513c93f81c476bab33159af42a3363ea5cc71870c427
Contents?: true
Size: 865 Bytes
Versions: 1
Compression:
Stored size: 865 Bytes
Contents
require "spec_helper" describe Selections::SelectionsController do describe "routing" do it "routes to #index" do get("/selections").should route_to("selections#index") end it "routes to #new" do get("/selections/new").should route_to("selections#new") end it "routes to #show" do get("/selections/1").should route_to("selections#show", :id => "1") end it "routes to #edit" do get("/selections/1/edit").should route_to("selections#edit", :id => "1") end it "routes to #create" do post("/selections").should route_to("selections#create") end it "routes to #update" do put("/selections/1").should route_to("selections#update", :id => "1") end it "routes to #destroy" do delete("/selections/1").should route_to("selections#destroy", :id => "1") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
selections-0.0.1 | spec/routing/selections/selections_routing_spec.rb |