mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
FIX: don't send empty email notifications for small_actions
This commit is contained in:
@ -85,6 +85,7 @@ describe Notification do
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
describe 'unread counts' do
|
||||
|
||||
let(:user) { Fabricate(:user) }
|
||||
@ -171,7 +172,6 @@ describe Notification do
|
||||
Fabricate(:post, topic: @topic, user: @topic.user)
|
||||
@target.reload
|
||||
expect(@target.unread_private_messages).to eq(1)
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user