Hmm, @saeedSarpas I did some search and it seems that these tests of yours are wrong after all!
Did they ever fail? :trollface: 
You should write something like this:

    expect(response.first).to include :id