3 describe SpeachbaloonsController do
6 it "routes to #index" do
7 get("/speachbaloons").should route_to("speachbaloons#index")
10 it "routes to #new" do
11 get("/speachbaloons/new").should route_to("speachbaloons#new")
14 it "routes to #show" do
15 get("/speachbaloons/1").should route_to("speachbaloons#show", :id => "1")
18 it "routes to #edit" do
19 get("/speachbaloons/1/edit").should route_to("speachbaloons#edit", :id => "1")
22 it "routes to #create" do
23 post("/speachbaloons").should route_to("speachbaloons#create")
26 it "routes to #update" do
27 put("/speachbaloons/1").should route_to("speachbaloons#update", :id => "1")
30 it "routes to #destroy" do
31 delete("/speachbaloons/1").should route_to("speachbaloons#destroy", :id => "1")