Skip to content

Instantly share code, notes, and snippets.

@thedelchop
Created October 27, 2010 16:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thedelchop/649432 to your computer and use it in GitHub Desktop.
Save thedelchop/649432 to your computer and use it in GitHub Desktop.
rspec spec/routing/pages_routing_spec.rb -d
.F.
Failures:
1) PagesController routing when no user is signed in routes the root route to pages#home
Failure/Error: { :get => '/' }.should route_to(:controller => "pages", :action => "home")
The recognized options <{"action"=>"show", "id"=>"master", "controller"=>"lists"}> did not match <{"action"=>"home", "controller"=>"pages"}>, difference: <{"action"=>"home", "id"=>"master", "controller"=>"pages"}>
# ./spec/routing/pages_routing_spec.rb:13
Finished in 0.43641 seconds
3 examples, 1 failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment