summaryrefslogtreecommitdiff
path: root/web-ui/test/spec/dispatchers/right_pane_dispatcher.spec.js
diff options
context:
space:
mode:
authorDuda Dornelles <ddornell@thoughtworks.com>2014-10-20 12:17:18 +0200
committerDuda Dornelles <ddornell@thoughtworks.com>2014-10-20 12:32:06 +0200
commit495bc391e140cc2bb462c81fa90410a0fe8f6a4c (patch)
tree5c141e2fcaefd508acf407267bb23807d46710a9 /web-ui/test/spec/dispatchers/right_pane_dispatcher.spec.js
parentb74a39f27c292cc95345b7ab266bb3db2f812a66 (diff)
massive update of bower and npm libs - includes flight, jasmine and a bunch of
stuff. If things get weird when developing, remove you bower_components and your node_modules and install it again
Diffstat (limited to 'web-ui/test/spec/dispatchers/right_pane_dispatcher.spec.js')
-rw-r--r--web-ui/test/spec/dispatchers/right_pane_dispatcher.spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web-ui/test/spec/dispatchers/right_pane_dispatcher.spec.js b/web-ui/test/spec/dispatchers/right_pane_dispatcher.spec.js
index bac42252..89530ac8 100644
--- a/web-ui/test/spec/dispatchers/right_pane_dispatcher.spec.js
+++ b/web-ui/test/spec/dispatchers/right_pane_dispatcher.spec.js
@@ -6,7 +6,7 @@ describeComponent('dispatchers/right_pane_dispatcher', function () {
describe('after initialization', function () {
beforeEach(function () {
- setupComponent();
+ this.setupComponent();
});
it('listens to open compose box event and creates a compose box', function () {
@@ -80,7 +80,7 @@ describeComponent('dispatchers/right_pane_dispatcher', function () {
it('opens the no message selected pane but doesnt push the state', function () {
var pushStateEvent = spyOnEvent(document, Pixelated.events.router.pushState);
- setupComponent();
+ this.setupComponent();
expect(noMessageSelectedPane.attachTo).toHaveBeenCalled();
expect(pushStateEvent).not.toHaveBeenTriggeredOn(document);