diff --git a/js/test/TopNav.js b/js/test/TopNav.js index 2743bf60..d5571888 100644 --- a/js/test/TopNav.js +++ b/js/test/TopNav.js @@ -456,8 +456,14 @@ describe('TopNav', function () { it( 'returns the currently selected expiration date', function () { + $('body').html( + '' + ); $.PrivateBin.TopNav.init(); - assert.ok($.PrivateBin.TopNav.getExpiration() === null); + assert.ok($.PrivateBin.TopNav.getExpiration() === '1day'); + cleanup(); } ); });