JC Brand
11b59b31d3
Fix tests after all the refactoring...
2014-03-01 01:57:20 +02:00
JC Brand
d1bf5b8466
Add event emitter tests for chatrooms. Updates #48
2013-12-16 19:19:25 +02:00
JC Brand
00e0782576
Add a test that checks for delayed messages. Fixes #76
...
Messages older than one day do indicate it.
2013-11-03 13:24:18 +02:00
JC Brand
d7d8948eba
Refactor ChatRoom tests (move code to utils.js)
2013-11-03 12:02:25 +02:00
JC Brand
13babe4fae
Refactored chatbox tests to be run independently
2013-11-03 11:38:48 +02:00
JC Brand
d4fa43109f
Don't use 'testing' attr override.
...
Can be used to get the unwrapper 'inner' converse object.
Instead, check that the bosh service value of the connection corresponds to the
mock object used for jasmine tests.
The value tested for is not usable in production, so we're sure we're only
running tests.
2013-11-03 11:38:36 +02:00
JC Brand
44fe406a34
Refactored tests.
...
Split MainSpec out into ChatBoxSpec and ControlBoxSpec.
Part of trying to have looser coupling between tests so that they can be run
independently.
2013-11-02 13:37:38 +02:00
JC Brand
ff345dcf51
Move mock.js to tests dir. Add utils.js
...
Both changes from tests-refactor branch
2013-11-02 11:32:52 +02:00