--- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :put uri: http://:@:80/roles/404.json? body: headers: content-type: - application/json authorization: - Basic response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 404 message: Not Found headers: x-ua-compatible: - IE=Edge,chrome=1 x-powered-by: - Phusion Passenger (mod_rails/mod_rack) 3.0.1 content-type: - application/json; charset=utf-8 date: - Thu, 09 Feb 2012 20:23:43 GMT server: - Apache/2.2.3 (CentOS) x-runtime: - "0.026021" set-cookie: - cache-control: - no-cache status: - "404" transfer-encoding: - chunked body: "{\"errors\":[\"Resource not found\"]}" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :put uri: http://:@:80/roles/1.json?role[label]=New body: headers: content-type: - application/json authorization: - Basic response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: x-ua-compatible: - IE=Edge,chrome=1 etag: - "\"99914b932bd37a50b983c5e7c90ae93b\"" x-powered-by: - Phusion Passenger (mod_rails/mod_rack) 3.0.1 content-type: - application/json; charset=utf-8 x-runtime: - "0.941814" server: - Apache/2.2.3 (CentOS) date: - Thu, 09 Feb 2012 20:23:44 GMT set-cookie: - status: - "200" cache-control: - max-age=0, private, must-revalidate transfer-encoding: - chunked body: "{}" http_version: "1.1"