Skip to content

Commit 78b31a7

Browse files
author
Igor Khomenko
committed
added Contact List tests
1 parent a6d7c6f commit 78b31a7

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

spec/QB-ChatSpec.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,14 @@ describe('Chat API', function() {
208208
});
209209
}, IQ_TIMEOUT);
210210

211-
// // Remove user from contact list
212-
// //
213-
// it("can remove user from contact list", function(done) {
214-
// QB.chat.roster.remove(QBUser2.id, function() {
215-
// console.info("can remove user from contact list");
216-
// done();
217-
// });
218-
// }, IQ_TIMEOUT);
211+
// Remove user from contact list
212+
//
213+
it("can remove user from contact list", function(done) {
214+
QB.chat.roster.remove(QBUser2.id, function() {
215+
console.info("can remove user from contact list");
216+
done();
217+
});
218+
}, IQ_TIMEOUT);
219219

220220
// Confirm subscription request
221221
//
@@ -226,14 +226,14 @@ describe('Chat API', function() {
226226
});
227227
}, IQ_TIMEOUT);
228228

229-
// // Reject subscription request
230-
// //
231-
// it("can reject subscription request", function(done) {
232-
// QB.chat.roster.reject(QBUser2.id, function() {
233-
// console.info("can reject subscription request");
234-
// done();
235-
// });
236-
// }, IQ_TIMEOUT);
229+
// Reject subscription request
230+
//
231+
it("can reject subscription request", function(done) {
232+
QB.chat.roster.reject(QBUser2.id, function() {
233+
console.info("can reject subscription request");
234+
done();
235+
});
236+
}, IQ_TIMEOUT);
237237
});
238238

239239

0 commit comments

Comments
 (0)