diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/caldav/request/propfind_test.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/caldav/request/propfind_test.js b/test/caldav/request/propfind_test.js index 58677f4..d38cb5a 100644 --- a/test/caldav/request/propfind_test.js +++ b/test/caldav/request/propfind_test.js @@ -51,12 +51,15 @@ suite('caldav/request/propfind', function() { assert.equal(subject.xhr.method, 'PROPFIND'); }); - test('#prop', function() { + test('#(has|remove)prop', function() { var expected = subject.template.tag('test'); subject.prop('test'); assert.deepEqual(subject._props, [expected]); + assert.isTrue(subject.hasProp('test'), 'has prop'); + subject.removeProp('test'); + assert.isFalse(subject.hasProp('test'), 'removed prop'); }); test('.depth', function() { |