Skip to content
Browse files

Fixing Mailboxer crashing tests. Using 0.3.2 version of mailboxer

  • Loading branch information...
1 parent d69ffd0 commit 69ffa73addfcd549c6ae7ae40403ae2f068bc0cb @Roendal Roendal committed Jul 12, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 app/models/activity.rb
  2. +1 −1 social_stream-base.gemspec
View
2 app/models/activity.rb
@@ -272,7 +272,7 @@ def decrement_like_count
#
# Destroy any Notification linked with the activity
def delete_notifications
- Notification.find_by_object(self).each do |notification|
+ Notification.with_object(self).each do |notification|
notification.destroy
end
end
View
2 social_stream-base.gemspec
@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
# OAuth provider
s.add_runtime_dependency('oauth-plugin','~> 0.4.0.pre1')
# Messages
- s.add_runtime_dependency('mailboxer','~> 0.3.1')
+ s.add_runtime_dependency('mailboxer','~> 0.3.2')
# Avatar manipulation
s.add_runtime_dependency('rmagick','~> 2.13.1')
# Tagging

0 comments on commit 69ffa73

Please sign in to comment.
Something went wrong with that request. Please try again.