equal
deleted
inserted
replaced
|
1 Tests.prototype.SMSTests = function() { |
|
2 module('SMS (navigator.sms)'); |
|
3 test("should exist", function() { |
|
4 expect(1); |
|
5 ok(navigator.sms != null, "navigator.sms should not be null."); |
|
6 }); |
|
7 test("should contain a send function", function() { |
|
8 expect(2); |
|
9 ok(typeof navigator.sms.send != 'undefined' && navigator.sms.send != null, "navigator.sms.send should not be null."); |
|
10 ok(typeof navigator.sms.send == 'function', "navigator.sms.send should be a function."); |
|
11 }); |
|
12 }; |