les')         .with(headers: {content_type: 'application/vnd.api+json', accept: 'application/vnd.api+json'}, body: {             data: {                 type: 'document--files',                 attributes: {                     url: 'http://example.com/downloads/0.pdf'                 }             }         }.to_json)         .to_return(headers: {content_type: 'application/vnd.api+json'}, body: {             data: {                 type: 'document--files',                 id: '0',                 attributes: {                     url: 'http://example.com/downloads/0.pdf'                 }             }         }.to_json)      