diff --git a/test/Identity.js b/test/Identity.js index aad707e51..123fe024c 100644 --- a/test/Identity.js +++ b/test/Identity.js @@ -416,7 +416,7 @@ describe('Identity model', function() { describe('#pluginManager', function() { it('should create a new PluginManager object', function() { - var pm = sinon.stub().returns(new PluginManager({plugins: { FakeLocalStorage: true }, pluginsPath: '../../test/mocks/'})); + var pm = new PluginManager({plugins: { FakeLocalStorage: true }, pluginsPath: '../../test/mocks/'}); should.exist(pm); }); });