Commit e140eb84 authored by JC Brand's avatar JC Brand

updated to use initConverse

parent b15c107e
/*global _converse */
(function (root, factory) {
define([
"converse_api",
"converse-core",
"mock",
"converse_api",
"test_utils",
"utils",
"transcripts"
......@@ -49,13 +47,13 @@
}
return describe("Transcripts of chat logs", function () {
beforeEach(function () {
it("can be used to replay conversations", mock.initConverse(function (_converse) {
/*
test_utils.openChatRoom("discuss", 'conference.conversejs.org', 'jc');
test_utils.openChatRoom("dummy", 'rooms.localhost', 'jc');
test_utils.openChatRoom("prosody", 'conference.prosody.im', 'jc');
});
it("can be used to replay conversations", function () {
*/
spyOn(_converse, 'areDesktopNotificationsEnabled').andReturn(true);
_.each(transcripts, function (transcript) {
var text = transcript();
......@@ -73,6 +71,6 @@
});
});
});
});
}));
});
}));
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment