mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
parent
050e739c59
commit
5b3a16213b
1 changed files with 3 additions and 2 deletions
|
@ -322,12 +322,13 @@ describe('StaffService', function () {
|
||||||
data: {
|
data: {
|
||||||
mention: {
|
mention: {
|
||||||
source: 'https://exmaple.com/some-post',
|
source: 'https://exmaple.com/some-post',
|
||||||
target: 'https://exmaple.com/some-mentioned-post'
|
target: 'https://exmaple.com/some-mentioned-post',
|
||||||
|
sourceSiteTitle: 'Exmaple'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
mailStub.calledWith(
|
mailStub.calledWith(
|
||||||
sinon.match({subject: `You've been mentioned!`})
|
sinon.match({subject: `💌 New mention from: Exmaple`})
|
||||||
).should.be.true();
|
).should.be.true();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue