summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorP. F. Chimento <philip.chimento@gmail.com>2014-09-25 16:31:02 -0700
committerP. F. Chimento <philip.chimento@gmail.com>2014-09-25 16:31:02 -0700
commitc767a39f71d4afb953eba04d3a0c6d199990998d (patch)
tree995c5c5c11c718407dcb7bfd732e87c8f11f0acd
parent436aed64ea44a4d7901693cc83fce4d10bf6c51e (diff)
parentf767524d59213a2aeee31295fdb58b16012cc76a (diff)
Merge pull request #2184 from endlessm/sdk/1881
Change test in testWebActions [endlessm/eos-sdk#1881]
-rw-r--r--test/webhelper/testWebActions.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/webhelper/testWebActions.js b/test/webhelper/testWebActions.js
index b2ddaf0..c543a43 100644
--- a/test/webhelper/testWebActions.js
+++ b/test/webhelper/testWebActions.js
@@ -48,7 +48,9 @@ describe("Web Actions Bindings", function() {
application_id: id_string
});
webActionSpy = jasmine.createSpy('quitAction').and.callFake(function() {
- app.quit();
+ // Calls destroy on the applications window, which decrements the hold count on the
+ // application and implicitly causes the application to close.
+ app.win.destroy();
});
});