Commit a949bdde

mo k <mo@mokhan.ca>
2012-08-01 02:24:15
add spec for root route
1 parent ef49968
Changed files (1)
spec/routing/creations_routing_spec.rb
@@ -2,6 +2,9 @@ require "spec_helper"
 
 describe CreationsController do
   describe "routing" do
+    it "is the root of the website" do
+      get('/').should route_to("creations#index")
+    end
 
     it "recognizes and generates #index" do
       { :get => "/creations" }.should route_to(:controller => "creations", :action => "index")