Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Spec failure with Noitifier
1) Issue Notifications status change should notify users with the bitmask on
Failure/Error: issue.update_attributes(:status => 1)
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