diff --git a/package.json b/package.json index 46d41e62..8791c076 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "handlebars": "^4.0.6", "jquery": "^3.1.1", "lodash": "^4.17.4", - "protoplast": "2.0.0-alpha.24", + "protoplast": "2.0.3", "stdio": "^0.2.7", "text": "requirejs/text" } diff --git a/test/integration/open.js b/test/integration/open.js index 1312a881..9d925409 100644 --- a/test/integration/open.js +++ b/test/integration/open.js @@ -52,7 +52,7 @@ define(function (require) { // WHEN context.build(); - context._objects.pub('app/init'); + context._objects.pub.instance('app/init'); // THEN chai.assert.strictEqual(scriptModel.script, 'Script'); @@ -64,7 +64,7 @@ define(function (require) { // WHEN context.build(); - context._objects.pub('app/init'); + context._objects.pub.instance('app/init'); // THEN chai.assert.isUndefined(scriptModel.script);