mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: don't send empty email notifications for small_actions
This commit is contained in:
parent
8608b5cbc1
commit
12051f79a8
6 changed files with 31 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue