From 878ee42e6a4ee40c1f7e3ff537dd3bf21a76368f Mon Sep 17 00:00:00 2001 From: Alexandre Pretto Nunes Date: Fri, 19 Dec 2014 17:53:06 -0200 Subject: Remove old references of 'smail' --- web-ui/test/spec/page/router.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web-ui/test/spec/page') 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); }); -- cgit v1.2.3