diff --git a/test/translator.js b/test/translator.js index 4dc4156e27..c55235f02a 100644 --- a/test/translator.js +++ b/test/translator.js @@ -154,6 +154,14 @@ describe('new Translator(language)', function(){ done(); }); }); + + it('should translate [[pages:users/latest]] properly', function(done) { + var translator = new Translator('en_GB'); + translator.translate('[[pages:users/latest]]').then(function(translated) { + assert.strictEqual('[[pages:users/latest]]', 'Latest Users'); + done(); + }); + }); }); });