Skip to content
Permalink
Browse files
[CB-3485] Fixed device test to now check for model specification
- added new Jasmine test
  • Loading branch information
ldeluca authored and filmaj committed Jun 20, 2013
1 parent 55fd460 commit d5eb15a44da0b4c2e50b705420d1a6e6388451e7
Showing 1 changed file with 5 additions and 0 deletions.
@@ -47,4 +47,9 @@ describe('Device Information (window.device)', function () {
expect(window.device.cordova).toBeDefined();
expect((new String(window.device.cordova)).length > 0).toBe(true);
});

it("should contain a model specification that is a string", function() {
expect(window.device.model).toBeDefined();
expect((new String(window.device.model)).length > 0).toBe(true);
});
});

0 comments on commit d5eb15a

Please sign in to comment.