cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [1/3] spec commit: add test for generic CELL connection type
Date Mon, 04 Feb 2013 20:06:28 GMT
add test for generic CELL connection type


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

Branch: refs/heads/master
Commit: de3adeab2e948df71cc909672fcb46dd49906745
Parents: 654a3ef
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Mon Feb 4 12:02:09 2013 -0800
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Mon Feb 4 12:02:09 2013 -0800

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


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/de3adeab/autotest/tests/network.tests.js
----------------------------------------------------------------------
diff --git a/autotest/tests/network.tests.js b/autotest/tests/network.tests.js
index 8a38c84..dd93a59 100644
--- a/autotest/tests/network.tests.js
+++ b/autotest/tests/network.tests.js
@@ -50,5 +50,6 @@ describe('Network (navigator.connection)', function () {
         expect(Connection.CELL_3G).toBe("3g");
         expect(Connection.CELL_4G).toBe("4g");
         expect(Connection.NONE).toBe("none");
+        expect(Connection.CELL).toBe("cellular");
     });
 });


Mime
View raw message