diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-03 22:20:02 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-03 22:20:02 -0500 |
commit | 423d0e5a440d8d66407522bc842ef273196173bc (patch) | |
tree | ec2dfc14881734c4585622962235b225c653da04 /spec/routing/tournaments_routing_spec.rb | |
parent | f825d7e30ff6393b66a5abcc05a33f72d7d6712b (diff) |
run ./generate.sh
Diffstat (limited to 'spec/routing/tournaments_routing_spec.rb')
-rw-r--r-- | spec/routing/tournaments_routing_spec.rb | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/spec/routing/tournaments_routing_spec.rb b/spec/routing/tournaments_routing_spec.rb deleted file mode 100644 index e4a229c..0000000 --- a/spec/routing/tournaments_routing_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -require "spec_helper" - -describe TournamentsController do - describe "routing" do - - it "routes to #index" do - get("/tournaments").should route_to("tournaments#index") - end - - it "routes to #new" do - get("/tournaments/new").should route_to("tournaments#new") - end - - it "routes to #show" do - get("/tournaments/1").should route_to("tournaments#show", :id => "1") - end - - it "routes to #edit" do - get("/tournaments/1/edit").should route_to("tournaments#edit", :id => "1") - end - - it "routes to #create" do - post("/tournaments").should route_to("tournaments#create") - end - - it "routes to #update" do - put("/tournaments/1").should route_to("tournaments#update", :id => "1") - end - - it "routes to #destroy" do - delete("/tournaments/1").should route_to("tournaments#destroy", :id => "1") - end - - end -end |