Sha256: f3ca327677403685d1d1ec62316a119643ad43a9f5c8a6a0f856c2b443d8f4c1
Contents?: true
Size: 823 Bytes
Versions: 10
Compression:
Stored size: 823 Bytes
Contents
require "spec_helper" describe SettingsController do describe "routing" do it "routes to #index" do get("/settings").should route_to("settings#index") end it "routes to #new" do get("/settings/new").should route_to("settings#new") end it "routes to #show" do get("/settings/1").should route_to("settings#show", :id => "1") end it "routes to #edit" do get("/settings/1/edit").should route_to("settings#edit", :id => "1") end it "routes to #create" do post("/settings").should route_to("settings#create") end it "routes to #update" do put("/settings/1").should route_to("settings#update", :id => "1") end it "routes to #destroy" do delete("/settings/1").should route_to("settings#destroy", :id => "1") end end end
Version data entries
10 entries across 10 versions & 1 rubygems