Commit 525fa6c11ba739968c1af5b3dbd69a23c3834811

Authored by Dmitriy Zaporozhets
1 parent 7edf65d1

Fix tests

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/services/notification_service.rb
... ... @@ -254,7 +254,7 @@ class NotificationService
254 254 # Remove users with disabled notifications from array
255 255 # Also remove duplications and nil recipients
256 256 def reject_muted_users(users, project = nil)
257   - users = users.compact.uniq
  257 + users = users.to_a.compact.uniq
258 258  
259 259 users.reject do |user|
260 260 next user.notification.disabled? unless project
... ...