diff --git a/test/unit/request/calendar_query_test.js b/test/unit/request/calendar_query_test.js
index a97e4d0b..5fbf1cf0 100644
--- a/test/unit/request/calendar_query_test.js
+++ b/test/unit/request/calendar_query_test.js
@@ -31,7 +31,7 @@ suite('request.calendarQuery', function() {
yield mock.verify(send);
}));
- test('should add specified props to report body', co.wrap(function *() {
+ test('should add single prop to report body', co.wrap(function *() {
let mock = nockWrapper('http://127.0.0.1:1337')
.matchRequestBody('/principals/admin/', 'REPORT', body => {
return body.indexOf('') !== -1;
@@ -45,6 +45,23 @@ suite('request.calendarQuery', function() {
yield mock.verify(send);
}));
+ test('should add multiple props to report body', co.wrap(function *() {
+ let mock = nockWrapper('http://127.0.0.1:1337')
+ .matchRequestBody('/principals/admin/', 'REPORT', body => {
+ return body.indexOf('') === -1;
+ });
+
+ let req = calendarQuery({
+ props: [
+ { name: 'catdog', namespace: ns.DAV },
+ { name: 'winslow', namespace: ns.DAV },
+ ]
+ });
+
+ let send = xhr.send(req, 'http://127.0.0.1:1337/principals/admin/');
+ yield mock.verify(send);
+ }));
+
test('should add specified filters to report body', co.wrap(function *() {
let mock = nockWrapper('http://127.0.0.1:1337')
.matchRequestBody('/principals/admin/', 'REPORT', body => {