incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject [2/2] spec commit: no gender property on Contact interface according to W3C DAP spec
Date Wed, 15 Feb 2012 23:17:29 GMT
no gender property on Contact interface according to W3C DAP spec


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

Branch: refs/heads/master
Commit: 5acd85888380dbeffbe38ee81dfb7f13add843a6
Parents: b35253c
Author: Fil Maj <filip.maj@nitobi.com>
Authored: Wed Feb 15 15:13:38 2012 -0800
Committer: Fil Maj <filip.maj@nitobi.com>
Committed: Wed Feb 15 15:13:38 2012 -0800

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/5acd8588/autotest/tests/contacts.tests.js
----------------------------------------------------------------------
diff --git a/autotest/tests/contacts.tests.js b/autotest/tests/contacts.tests.js
index 86bb003..880eaca 100644
--- a/autotest/tests/contacts.tests.js
+++ b/autotest/tests/contacts.tests.js
@@ -61,7 +61,6 @@ Tests.prototype.ContactsTests = function() {
 		var obj = navigator.contacts.create({"displayName": "test name", "gender": "male", "note":
"my note", "name": {"formatted": "Mr. Test Name"}, "emails": [{"value": "here@there.com"},
{"value": "there@here.com"}]});		
 		ok(obj != 'undefined' && obj != null, "navigator.contacts.create should return
a Contact object.");
 		ok(obj.displayName == 'test name', "Contact should contain a displayName property.");
-		ok(obj.gender == 'male', "Contact should contain a gender property.");
 		ok(obj.note == 'my note', "Contact should contain a note property.");
 		ok(obj.name.formatted == 'Mr. Test Name', "Contact should contain a name.formatted property.");
 		ok(obj.emails.length == 2, "Contact should contain and array of emails with 2 entries");


Mime
View raw message