Created
July 15, 2014 20:21
-
-
Save domgetter/62731a609f221507fd3e to your computer and use it in GitHub Desktop.
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
UsersController | |
GET 'index' | |
returns http success | |
GET 'show' | |
returns http fail (FAILED - 1) | |
GET 'new' | |
returns http success | |
GET 'edit' | |
returns http success (FAILED - 2) | |
Failures: | |
1) UsersController GET 'show' returns http fail | |
Failure/Error: get 'show' | |
ActionController::UrlGenerationError: | |
No route matches {:action=>"show", :controller=>"users"} | |
# ./spec/controllers/users_controller_spec.rb:14:in `block (3 levels) in <t | |
2) UsersController GET 'edit' returns http success | |
Failure/Error: get 'edit' | |
ActionController::UrlGenerationError: | |
No route matches {:action=>"edit", :controller=>"users"} | |
# ./spec/controllers/users_controller_spec.rb:30:in `block (3 levels) in <t | |
Finished in 0.04906 seconds (files took 4.24 seconds to load) | |
4 examples, 2 failures | |
Failed examples: | |
rspec ./spec/controllers/users_controller_spec.rb:13 # UsersController GET 'show | |
rspec ./spec/controllers/users_controller_spec.rb:29 # UsersController GET 'edit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment