I’m writing a functional test and I would like to test if my controller
gives out right content type for an AJAX Request.
Firstly I do
to simulate the request, but I don’t know how to write an assertion. I
hoped it would be
but that turned out to give an error.
Could you please give me a hint for correct syntax?