Skip to content

Commit

Permalink
Fixing broken Generic TV1 Device has no Headers/body tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydk04 committed Jul 14, 2017
1 parent aa31965 commit 34c7ddb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions node-test/antieframeworktest.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ var AntieFrameworkTest = function() {
'Generic TV1 Device has no Headers' : function(test) {
setUpNormalConfig();
var headers = framework.getDeviceHeaders(getGenericDevice1Config());
test.ok(!headers, "The device headers are not empty. It contains: " + headers);
test.ok(!headers.trim(), "The device headers are not empty. It contains: " + headers);
test.done();
},

'Generic TV1 Device has no body' : function(test) {
setUpNormalConfig();
body = framework.getDeviceBody(getGenericDevice1Config());
test.ok(!body, "The device body is not empty. It contains: " + body);
test.ok(!body.trim(), "The device body is not empty. It contains: " + body);
test.done();
},

Expand Down Expand Up @@ -152,5 +152,3 @@ var AntieFrameworkTest = function() {

}
var test = new AntieFrameworkTest();


0 comments on commit 34c7ddb

Please sign in to comment.