summaryrefslogtreecommitdiff
path: root/web-ui/test/spec/dispatchers/left_pane_dispatcher.spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/test/spec/dispatchers/left_pane_dispatcher.spec.js')
-rw-r--r--web-ui/test/spec/dispatchers/left_pane_dispatcher.spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web-ui/test/spec/dispatchers/left_pane_dispatcher.spec.js b/web-ui/test/spec/dispatchers/left_pane_dispatcher.spec.js
index 935bb917..df8169c6 100644
--- a/web-ui/test/spec/dispatchers/left_pane_dispatcher.spec.js
+++ b/web-ui/test/spec/dispatchers/left_pane_dispatcher.spec.js
@@ -7,7 +7,7 @@ describeComponent('dispatchers/left_pane_dispatcher', function () {
it('asks for tags', function () {
var tagWantEvent = spyOnEvent(document, Pixelated.events.tags.want);
- setupComponent();
+ this.setupComponent();
expect(tagWantEvent).toHaveBeenTriggeredOn(document);
expect(tagWantEvent.mostRecentCall.data.caller[0]).toEqual(this.$node[0]);
@@ -16,7 +16,7 @@ describeComponent('dispatchers/left_pane_dispatcher', function () {
describe('after initialization', function () {
beforeEach(function () {
- setupComponent();
+ this.setupComponent();
});
it('pushes the url state when a tag is selected but not for the first tag', function () {