Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
rspec spec/routing/pages_routing_spec.rb -d
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