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/page/pane_contract_expand.spec.js | |
parent | f22a6a32e901f52b2b3f2b3fd8625c43302ff001 (diff) |
replaces Smail by Pixelated in all js files
Diffstat (limited to 'web-ui/test/spec/page/pane_contract_expand.spec.js')
-rw-r--r-- | web-ui/test/spec/page/pane_contract_expand.spec.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/web-ui/test/spec/page/pane_contract_expand.spec.js b/web-ui/test/spec/page/pane_contract_expand.spec.js index 803f688c..9a09edb2 100644 --- a/web-ui/test/spec/page/pane_contract_expand.spec.js +++ b/web-ui/test/spec/page/pane_contract_expand.spec.js @@ -1,4 +1,4 @@ -/*global Smail */ +/*global Pixelated */ /*global afterEach */ 'use strict'; @@ -27,28 +27,28 @@ describeComponent('page/pane_contract_expand', function () { }); it('contracts middle pane and expands right pane on mail open', function () { - $(document).trigger(Smail.events.ui.mail.open); + $(document).trigger(Pixelated.events.ui.mail.open); expect($('#middle-pane-container').attr('class')).toEqual(this.component.attr.MIDDLE_PANE_CONTRACT_CLASSES); expect($('#right-pane').attr('class')).toEqual(this.component.attr.RIGHT_PANE_EXPAND_CLASSES); }); it('contracts middle pane and expands right pane on open compose box', function () { - $(document).trigger(Smail.events.dispatchers.rightPane.openComposeBox); + $(document).trigger(Pixelated.events.dispatchers.rightPane.openComposeBox); expect($('#middle-pane-container').attr('class')).toEqual(this.component.attr.MIDDLE_PANE_CONTRACT_CLASSES); expect($('#right-pane').attr('class')).toEqual(this.component.attr.RIGHT_PANE_EXPAND_CLASSES); }); it('contracts middle pane and expands right pane on open draft', function () { - $(document).trigger(Smail.events.dispatchers.rightPane.openDraft); + $(document).trigger(Pixelated.events.dispatchers.rightPane.openDraft); expect($('#middle-pane-container').attr('class')).toEqual(this.component.attr.MIDDLE_PANE_CONTRACT_CLASSES); expect($('#right-pane').attr('class')).toEqual(this.component.attr.RIGHT_PANE_EXPAND_CLASSES); }); it('expands middle pane and contracts right pane on event on open no message selected pane', function () { - $(document).trigger(Smail.events.dispatchers.rightPane.openNoMessageSelected); + $(document).trigger(Pixelated.events.dispatchers.rightPane.openNoMessageSelected); expect($('#middle-pane-container').attr('class')).toEqual(this.component.attr.MIDDLE_PANE_EXPAND_CLASSES); expect($('#right-pane').attr('class')).toEqual(this.component.attr.RIGHT_PANE_CONTRACT_CLASSES); |