Skip to content
Snippets Groups Projects
Commit f19330e4 authored by Mike Greiling's avatar Mike Greiling
Browse files

fix right_sidebar_spec ajax call

parent 7a2a9bb4
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -65,9 +65,10 @@
});
 
it('should broadcast todo:toggle event when add todo clicked', function() {
var todos = getJSONFixture('todos.json');
spyOn(jQuery, 'ajax').and.callFake(function() {
var d = $.Deferred();
var response = getJSONFixture('todos.json');
var response = todos;
d.resolve(response);
return d.promise();
});
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment