If I remove the to_query I get this error:

´´´
Failure/Error: expect(res).to include("crop=50,70,350,450")
       expected "http://benjamin.cdnconnect.com/1.jpg?crop=50%2C70%2C350%2C450&mode=max&quality=95" to include "crop=50,70,350,450"
´´´

so should I change the line to:

´´´ruby
  expect(res).to include("crop=50%2C70%2C350%2C450")
´´´

Or do you have any other solution?