Created
May 12, 2012 23:43
-
-
Save ch1ago/2669730 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
Failures: | |
1) SessionsController GET 'destroy' returns http success | |
Failure/Error: get 'destroy' | |
NameError: | |
undefined local variable or method `root_path' for #<SessionsController:0x9c8a088> | |
# ./app/controllers/sessions_controller.rb:20:in `destroy' | |
# ./spec/controllers/sessions_controller_spec.rb:18:in `block (3 levels) in <top (required)>' | |
2) users/index renders a list of users | |
Failure/Error: render | |
ActionView::Template::Error: | |
undefined local variable or method `new_user_path' for #<#<Class:0x9cd9304>:0x9b73cd0> | |
# ./app/views/users/index.html.erb:41:in `_app_views_users_index_html_erb__430946163_82056920' | |
# ./spec/views/users/index.html.erb_spec.rb:34:in `block (2 levels) in <top (required)>' | |
3) Users GET /users works! (now write some real specs) | |
Failure/Error: get users_path | |
ActionView::Template::Error: | |
undefined local variable or method `new_user_path' for #<#<Class:0x9969e30>:0xa2c91b0> | |
# ./app/views/users/index.html.erb:41:in `_app_views_users_index_html_erb__430946163_82862040' | |
# ./app/controllers/users_controller.rb:7:in `index' | |
# ./config/initializers/quite_assets.rb:6:in `call_with_quiet_assets' | |
# ./spec/requests/users_spec.rb:7:in `block (3 levels) in <top (required)>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment