Created
January 23, 2013 20:19
-
-
Save Solnse/4612604 to your computer and use it in GitHub Desktop.
failure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
describe "Cats" do | |
it "Has a homepage" do | |
visit "cats/home" | |
page.should have_content("About cats") | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failures: | |
1) Cats Has a homepage | |
Failure/Error: visit "cats/home" | |
ActionController::RoutingError: | |
No route matches [GET] "/home" | |
# ./spec/requests/cats_spec.rb:6:in `block (2 levels) in <top (required)>' | |
Finished in 0.12806 seconds | |
1 example, 1 failure | |
Project::Application.routes.draw do | |
get "cats/home" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment