Commit 94d9e168 authored by tiagonbotelho's avatar tiagonbotelho

changes the project_title_spec accordingly

parent 1b111b83
...@@ -22,7 +22,7 @@ describe 'Project Title', -> ...@@ -22,7 +22,7 @@ describe 'Project Title', ->
@projects_data = fixture.load('projects.json')[0] @projects_data = fixture.load('projects.json')[0]
spyOn(jQuery, 'ajax').and.callFake (req) => spyOn(jQuery, 'ajax').and.callFake (req) =>
expect(req.url).toBe('/api/v3/projects.json') expect(req.url).toBe('/api/v3/projects.json?format=simple')
d = $.Deferred() d = $.Deferred()
d.resolve @projects_data d.resolve @projects_data
d.promise() d.promise()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment