mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
Fixed test missing a whitespace
refs https://github.com/TryGhost/Team/issues/597
refs a1962f38cd
This commit is contained in:
parent
fd61555763
commit
326cbf0d34
@ -18,7 +18,7 @@ class LimitService {
|
||||
*/
|
||||
loadLimits({limits, helpLink, db, errors}) {
|
||||
if (!errors) {
|
||||
throw new Error(`Config Missing: 'errors' is required. `);
|
||||
throw new Error(`Config Missing: 'errors' is required.`);
|
||||
}
|
||||
|
||||
this.errors = errors;
|
||||
|
@ -48,7 +48,7 @@ describe('Limit Service', function () {
|
||||
should.fail(limitService, 'Should have errored');
|
||||
} catch (err) {
|
||||
should.exist(err);
|
||||
err.message.should.equal(`Config Missing: 'errors' is required`);
|
||||
err.message.should.eql(`Config Missing: 'errors' is required.`);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user