Created
January 29, 2009 23:08
-
-
Save ohammersmith/54827 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
| /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby /Users/otto/Desktop/Incubator/Protopipe/protopipe/vendor/plugins/rspec/bin/spec spec/controllers/criteria_controller_spec.rb -O spec/spec.opts | |
| ...F...F......F....F..... | |
| 1) | |
| 'CriteriaController GET 'edit' should render a 404 if the specified criterion doesn't exist' FAILED | |
| expected "/Users/otto/Desktop/Incubator/Protopipe/protopipe/public/404.html", got "criteria/edit.html.erb" | |
| ./spec/controllers/criteria_controller_spec.rb:227: | |
| 2) | |
| NoMethodError in 'CriteriaController PUT 'update' should render a 404 if the specified criterion doesn't exist' | |
| You have a nil object when you didn't expect it! | |
| You might have expected an instance of ActiveRecord::Base. | |
| The error occurred while evaluating nil.update_attributes | |
| /Users/otto/Desktop/Incubator/Protopipe/protopipe/app/controllers/criteria_controller.rb:21:in `update' | |
| ./spec/controllers/criteria_controller_spec.rb:180: | |
| 3) | |
| NoMethodError in 'CriteriaController DELETE 'destroy' should return 404 if there is no such criterion' | |
| You have a nil object when you didn't expect it! | |
| You might have expected an instance of ActiveRecord::Base. | |
| The error occurred while evaluating nil.destroy | |
| /Users/otto/Desktop/Incubator/Protopipe/protopipe/app/controllers/criteria_controller.rb:13:in `destroy' | |
| ./spec/controllers/criteria_controller_spec.rb:104: | |
| 4) | |
| 'CriteriaController GET 'show' should return 404 if there is no such criterion' FAILED | |
| expected: "404", | |
| got: "200" (using ==) | |
| ./spec/controllers/criteria_controller_spec.rb:80: | |
| Finished in 0.67125 seconds | |
| 25 examples, 4 failures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment