You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bh...@apache.org on 2013/12/05 21:11:56 UTC

webworks commit: CB-5434 Fix debug token warning test

Updated Branches:
  refs/heads/master df49094ae -> 076547ddd


CB-5434 Fix debug token warning test


Project: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/commit/076547dd
Tree: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/tree/076547dd
Diff: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/diff/076547dd

Branch: refs/heads/master
Commit: 076547dddb274d5fd7373f7a6446cd965ac56db4
Parents: df49094
Author: Bryan Higgins <bh...@blackberry.com>
Authored: Thu Dec 5 15:12:57 2013 -0500
Committer: Bryan Higgins <bh...@blackberry.com>
Committed: Thu Dec 5 15:12:57 2013 -0500

----------------------------------------------------------------------
 blackberry10/bin/test/cordova/unit/spec/lib/native-packager.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/076547dd/blackberry10/bin/test/cordova/unit/spec/lib/native-packager.js
----------------------------------------------------------------------
diff --git a/blackberry10/bin/test/cordova/unit/spec/lib/native-packager.js b/blackberry10/bin/test/cordova/unit/spec/lib/native-packager.js
index eb6c161..6c4a7da 100644
--- a/blackberry10/bin/test/cordova/unit/spec/lib/native-packager.js
+++ b/blackberry10/bin/test/cordova/unit/spec/lib/native-packager.js
@@ -107,7 +107,7 @@ describe("Native packager", function () {
 
         nativePkgr.exec(session, target, testData.config, callback);
 
-        expect(logger.warn).toHaveBeenCalledWith(localize.translate("EXCEPTION_DEBUG_TOKEN_NOT_FOUND"));
+        expect(logger.warn).toHaveBeenCalled();
     });
 
     it("won't show debug token warning when -d options wasn't provided", function () {