diff options
author | Patrick Maia <pixelated-team+patrick@thoughtworks.com> | 2014-08-08 17:51:33 -0300 |
---|---|---|
committer | Patrick Maia <patrickjourdanmaia@gmail.com> | 2014-08-08 17:51:33 -0300 |
commit | 97e762a0832593031ae71ab1e11d4c0e377a00f4 (patch) | |
tree | 213e835f4effbaf97f0922e5941065b1329d0501 /web-ui/test/spec/mail_list_actions/ui | |
parent | f22a6a32e901f52b2b3f2b3fd8625c43302ff001 (diff) |
replaces Smail by Pixelated in all js files
Diffstat (limited to 'web-ui/test/spec/mail_list_actions/ui')
-rw-r--r-- | web-ui/test/spec/mail_list_actions/ui/compose_trigger.spec.js | 2 | ||||
-rw-r--r-- | web-ui/test/spec/mail_list_actions/ui/pagination_trigger.spec.js | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/web-ui/test/spec/mail_list_actions/ui/compose_trigger.spec.js b/web-ui/test/spec/mail_list_actions/ui/compose_trigger.spec.js index 4942b5b6..78104ce9 100644 --- a/web-ui/test/spec/mail_list_actions/ui/compose_trigger.spec.js +++ b/web-ui/test/spec/mail_list_actions/ui/compose_trigger.spec.js @@ -6,7 +6,7 @@ describeComponent('mail_list_actions/ui/compose_trigger', function () { }); it('triggers the enableComposebox event when clicked', function () { - var spyEvent = spyOnEvent(document, Smail.events.dispatchers.rightPane.openComposeBox); + var spyEvent = spyOnEvent(document, Pixelated.events.dispatchers.rightPane.openComposeBox); this.component.trigger('click'); diff --git a/web-ui/test/spec/mail_list_actions/ui/pagination_trigger.spec.js b/web-ui/test/spec/mail_list_actions/ui/pagination_trigger.spec.js index 67c2f3ef..bf47794a 100644 --- a/web-ui/test/spec/mail_list_actions/ui/pagination_trigger.spec.js +++ b/web-ui/test/spec/mail_list_actions/ui/pagination_trigger.spec.js @@ -6,20 +6,20 @@ describeComponent('mail_list_actions/ui/pagination_trigger', function () { }); it('triggers the ui:page:previous event when the left arrow is clicked', function () { - var eventSpy = spyOnEvent(document, Smail.events.ui.page.previous); + var eventSpy = spyOnEvent(document, Pixelated.events.ui.page.previous); this.component.select('previous').click(); expect(eventSpy).toHaveBeenTriggeredOn(document); }); it('triggers the ui:page:next event when the right arrow is clicked', function () { - var eventSpy = spyOnEvent(document, Smail.events.ui.page.next); + var eventSpy = spyOnEvent(document, Pixelated.events.ui.page.next); this.component.select('next').click(); expect(eventSpy).toHaveBeenTriggeredOn(document); }); it('re-renders with current page number when page changes', function () { - this.component.trigger(document, Smail.events.ui.page.changed, {currentPage: 0}); + this.component.trigger(document, Pixelated.events.ui.page.changed, {currentPage: 0}); expect(this.component.select('currentPage').text()).toBe('1'); }); |