summaryrefslogtreecommitdiff
path: root/web-ui/test/spec/page
diff options
context:
space:
mode:
authorAlexandre Pretto Nunes <anunes@thoughtworks.com>2014-12-19 17:53:06 -0200
committerAlexandre Pretto Nunes <anunes@thoughtworks.com>2014-12-19 17:53:06 -0200
commit878ee42e6a4ee40c1f7e3ff537dd3bf21a76368f (patch)
treebc0ea108c224bcd2bf7283c131f596ad071074ad /web-ui/test/spec/page
parent7f6613813a4238382fe177dad81287b026598545 (diff)
Remove old references of 'smail'
Diffstat (limited to 'web-ui/test/spec/page')
-rw-r--r--web-ui/test/spec/page/router.spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web-ui/test/spec/page/router.spec.js b/web-ui/test/spec/page/router.spec.js
index 7340ecad..129e0dfb 100644
--- a/web-ui/test/spec/page/router.spec.js
+++ b/web-ui/test/spec/page/router.spec.js
@@ -45,7 +45,7 @@ describeComponent('page/router', function () {
var selectTagEvent = spyOnEvent(document, Pixelated.events.ui.tag.select);
- this.component.smailPopState({ state: {tag: undefined} });
+ this.component.popState({ state: {tag: undefined} });
expect(selectTagEvent).toHaveBeenTriggeredOnAndWith(document, jasmine.objectContaining({ tag: 'tag'}));
});
@@ -56,11 +56,11 @@ describeComponent('page/router', function () {
var displayNoMessageEvent = spyOnEvent(document, Pixelated.events.dispatchers.rightPane.openNoMessageSelectedWithoutPushState);
- this.component.smailPopState({ state: {tag: undefined, isDisplayNoMessageSelected: false} });
+ this.component.popState({ state: {tag: undefined, isDisplayNoMessageSelected: false} });
expect(displayNoMessageEvent).not.toHaveBeenTriggeredOn(document);
- this.component.smailPopState({ state: {tag: undefined, isDisplayNoMessageSelected: true} });
+ this.component.popState({ state: {tag: undefined, isDisplayNoMessageSelected: true} });
expect(displayNoMessageEvent).toHaveBeenTriggeredOn(document);
});