--- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :post uri: http://:@:80/users/404/payments.json?payment[amount]=500 body: headers: content-type: - application/json authorization: - Basic response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 404 message: Not Found headers: date: - Mon, 13 Feb 2012 17:48:31 GMT server: - Apache/2.2.3 (CentOS) x-powered-by: - Phusion Passenger (mod_rails/mod_rack) 3.0.1 x-ua-compatible: - IE=Edge,chrome=1 x-runtime: - '0.023899' cache-control: - no-cache set-cookie: - status: - '404' transfer-encoding: - chunked content-type: - application/json; charset=utf-8 body: ! '{"errors":["Resource not found"]}' http_version: '1.1' - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :post uri: http://:@:80/users/1/payments.json?payment[amount]=500 body: headers: content-type: - application/json authorization: - Basic response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 201 message: Created headers: date: - Mon, 13 Feb 2012 17:48:31 GMT server: - Apache/2.2.3 (CentOS) x-powered-by: - Phusion Passenger (mod_rails/mod_rack) 3.0.1 x-ua-compatible: - IE=Edge,chrome=1 x-runtime: - '0.034229' cache-control: - no-cache set-cookie: - location: - http:///users/1/payments/36 status: - '201' transfer-encoding: - chunked content-type: - application/json; charset=utf-8 body: ! '{"payment":{"created_at":"2012-02-13T17:48:31Z","updated_at":"2012-02-13T17:48:31Z","amount":"500.0","id":36,"invoice_number":null,"user_id":1}}' http_version: '1.1' ...