summaryrefslogtreecommitdiff
path: root/spec/routing/alerts_routing_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/routing/alerts_routing_spec.rb')
-rw-r--r--spec/routing/alerts_routing_spec.rb35
1 files changed, 0 insertions, 35 deletions
diff --git a/spec/routing/alerts_routing_spec.rb b/spec/routing/alerts_routing_spec.rb
deleted file mode 100644
index 9485907..0000000
--- a/spec/routing/alerts_routing_spec.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-require "spec_helper"
-
-describe AlertsController do
- describe "routing" do
-
- it "routes to #index" do
- get("/alerts").should route_to("alerts#index")
- end
-
- it "routes to #new" do
- get("/alerts/new").should route_to("alerts#new")
- end
-
- it "routes to #show" do
- get("/alerts/1").should route_to("alerts#show", :id => "1")
- end
-
- it "routes to #edit" do
- get("/alerts/1/edit").should route_to("alerts#edit", :id => "1")
- end
-
- it "routes to #create" do
- post("/alerts").should route_to("alerts#create")
- end
-
- it "routes to #update" do
- put("/alerts/1").should route_to("alerts#update", :id => "1")
- end
-
- it "routes to #destroy" do
- delete("/alerts/1").should route_to("alerts#destroy", :id => "1")
- end
-
- end
-end