Clean strings.

This commit is contained in:
Lars Jung 2015-04-22 23:45:23 +02:00
parent 88854ad451
commit 41b199c578
7 changed files with 11 additions and 11 deletions

View file

@ -110,14 +110,14 @@ describe('module \'' + ID + '\'', function () {
assert.isTrue(this.xEvent.sub.calledTwice);
});
it('subscribes to "location.changed"', function () {
it('subscribes to location.changed', function () {
this.applyFn();
assert.strictEqual(this.xEvent.sub.firstCall.args[0], 'location.changed');
assert.isFunction(this.xEvent.sub.firstCall.args[1]);
});
it('subscribes to "location.refreshed"', function () {
it('subscribes to location.refreshed', function () {
this.applyFn();
assert.strictEqual(this.xEvent.sub.secondCall.args[0], 'location.refreshed');