cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject spec commit: [CB-2200] Remove test dependency on deprecated device.name (cherry picked from commit d9bf705c711e9ba47853574ec08ef77c6d988025)
Date Wed, 29 May 2013 19:27:54 GMT
Updated Branches:
  refs/heads/2.8.x 4e18d6dc8 -> a3374a584


[CB-2200] Remove test dependency on deprecated device.name
(cherry picked from commit d9bf705c711e9ba47853574ec08ef77c6d988025)


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/a3374a58
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/a3374a58
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/a3374a58

Branch: refs/heads/2.8.x
Commit: a3374a58451e1e5aa52ab1273f8f189a44ac483d
Parents: 4e18d6d
Author: Ian Clelland <iclelland@chromium.org>
Authored: Wed May 29 15:24:07 2013 -0400
Committer: Ian Clelland <iclelland@chromium.org>
Committed: Wed May 29 15:27:36 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/a3374a58/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') {


Mime
View raw message