Commit a949bdde
Changed files (1)
spec
routing
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")