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

spec commit: [CB-2200] Remove test dependency on deprecated device.name

Updated Branches:
  refs/heads/master db9df63a6 -> d9bf705c7


[CB-2200] Remove test dependency on deprecated device.name


Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/d9bf705c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/d9bf705c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/d9bf705c

Branch: refs/heads/master
Commit: d9bf705c711e9ba47853574ec08ef77c6d988025
Parents: db9df63
Author: Ian Clelland <ic...@chromium.org>
Authored: Wed May 29 15:24:07 2013 -0400
Committer: Ian Clelland <ic...@chromium.org>
Committed: Wed May 29 15:25:39 2013 -0400

----------------------------------------------------------------------
 autotest/tests/device.tests.js |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/d9bf705c/autotest/tests/device.tests.js
----------------------------------------------------------------------
diff --git a/autotest/tests/device.tests.js b/autotest/tests/device.tests.js
index 4750cc0..df9d2c6 100644
--- a/autotest/tests/device.tests.js
+++ b/autotest/tests/device.tests.js
@@ -34,11 +34,6 @@ describe('Device Information (window.device)', function () {
 		expect((new String(window.device.version)).length > 0).toBe(true);
 	});
 
-	it("should contain a name specification that is a string", function() {
-        expect(window.device.name).toBeDefined();
-		expect((new String(window.device.name)).length > 0).toBe(true);
-	});
-
 	it("should contain a UUID specification that is a string or a number", function() {
         expect(window.device.uuid).toBeDefined();
 		if (typeof window.device.uuid == 'string' || typeof window.device.uuid == 'object') {