diff -r 000000000000 -r 54063d8b0412 spec/tests/telephony.tests.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spec/tests/telephony.tests.js Tue Jul 06 11:31:19 2010 -0700 @@ -0,0 +1,12 @@ +Tests.prototype.TelephonyTests = function() { + module('Telephony (navigator.telephony)'); + test("should exist", function() { + expect(1); + ok(navigator.telephony != null, "navigator.telephony should not be null."); + }); + test("should contain a send function", function() { + expect(2); + ok(typeof navigator.telephony.send != 'undefined' && navigator.telephony.send != null, "navigator.telephony.send should not be null."); + ok(typeof navigator.telephony.send == 'function', "navigator.telephony.send should be a function."); + }); +}; \ No newline at end of file