mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 22:11:09 +03:00
parent
050e739c59
commit
5b3a16213b
@ -322,12 +322,13 @@ describe('StaffService', function () {
|
||||
data: {
|
||||
mention: {
|
||||
source: 'https://exmaple.com/some-post',
|
||||
target: 'https://exmaple.com/some-mentioned-post'
|
||||
target: 'https://exmaple.com/some-mentioned-post',
|
||||
sourceSiteTitle: 'Exmaple'
|
||||
}
|
||||
}
|
||||
});
|
||||
mailStub.calledWith(
|
||||
sinon.match({subject: `You've been mentioned!`})
|
||||
sinon.match({subject: `💌 New mention from: Exmaple`})
|
||||
).should.be.true();
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user