Created
August 9, 2012 20:26
-
-
Save beckyconning/3307812 to your computer and use it in GitHub Desktop.
This file contains 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
F.. | |
Failures: | |
1) MessagesController POST create creates a new message | |
Failure/Error: post :create, :message => { | |
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.save | |
# ./app/controllers/messages_controller.rb:4:in `create' | |
# ./spec/controllers/messages_controller_spec.rb:9 | |
Finished in 0.11847 seconds | |
3 examples, 1 failure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment