changing the content-type test in the controller tests
describe '#index', ->
beforeEach (done) ->
factory 'gist', (error, record) =>
gist = record
done()
test 'render json', (done) ->
get urlFor(App.Gist), format: "json", (request) ->
assert.equal request.headers["content-type"], 'application/json'
done()