Skip to content

Instantly share code, notes, and snippets.

@KensoDev
Created April 8, 2012 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KensoDev/2338202 to your computer and use it in GitHub Desktop.
Save KensoDev/2338202 to your computer and use it in GitHub Desktop.
Spec failure with Noitifier
Failures:
1) Issue Notifications status change should notify users with the bitmask on
Failure/Error: issue.update_attributes(:status => 1)
NoMethodError:
undefined method `deliver' for nil:NilClass
# ./app/models/issue_observer.rb:59:in `block in after_update'
# ./app/models/issue_observer.rb:52:in `after_update'
# ./spec/models/issue_spec.rb:60:in `block (4 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment