summaryrefslogtreecommitdiff
path: root/spec/javascripts/right_sidebar_spec.js
diff options
context:
space:
mode:
authorwinniehell <git@winniehell.de>2017-02-14 01:09:57 +0100
committerwinniehell <git@winniehell.de>2017-02-14 12:04:35 +0100
commitd8517fd457995927f8a2196e9dba1b6d68d027ad (patch)
treea0dec365a07a3472c6af9b679451cd31fc9bd599 /spec/javascripts/right_sidebar_spec.js
parentb06ac70ab5fec093bf189e8d0efb6ddb22796051 (diff)
downloadgitlab-ce-d8517fd457995927f8a2196e9dba1b6d68d027ad.tar.gz
Replace static fixture for right_sidebar_spec.js (!9211)
Diffstat (limited to 'spec/javascripts/right_sidebar_spec.js')
-rw-r--r--spec/javascripts/right_sidebar_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/right_sidebar_spec.js b/spec/javascripts/right_sidebar_spec.js
index f7636865aa1..9284af8a8d9 100644
--- a/spec/javascripts/right_sidebar_spec.js
+++ b/spec/javascripts/right_sidebar_spec.js
@@ -34,7 +34,7 @@ require('~/extensions/jquery.js');
describe('RightSidebar', function() {
var fixtureName = 'issues/open-issue.html.raw';
preloadFixtures(fixtureName);
- loadJSONFixtures('todos.json');
+ loadJSONFixtures('todos/todos.json');
beforeEach(function() {
loadFixtures(fixtureName);
@@ -64,7 +64,7 @@ require('~/extensions/jquery.js');
});
it('should broadcast todo:toggle event when add todo clicked', function() {
- var todos = getJSONFixture('todos.json');
+ var todos = getJSONFixture('todos/todos.json');
spyOn(jQuery, 'ajax').and.callFake(function() {
var d = $.Deferred();
var response = todos;