spec/vcr_cassettes/role/edit.yml in squall-1.0.2 vs spec/vcr_cassettes/role/edit.yml in squall-1.1.0
- old
+ new
@@ -1,16 +1,16 @@
---
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :put
- uri: http://user:pass@www.example.com:80/roles/5.json?
+ uri: http://<USER>:<PASS>@<URL>:80/roles/404.json?
body:
headers:
content-type:
- application/json
authorization:
- - Basic WHAT
+ - Basic <REDACTED>
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 404
message: Not Found
headers:
@@ -18,75 +18,36 @@
- IE=Edge,chrome=1
x-powered-by:
- Phusion Passenger (mod_rails/mod_rack) 3.0.1
content-type:
- application/json; charset=utf-8
- x-runtime:
- - "0.021298"
- server:
- - Apache/2.2.3 (CentOS)
date:
- - Thu, 14 Apr 2011 18:59:36 GMT
- set-cookie:
- - _onapp_session=WHAT; path=/; HttpOnly
- status:
- - "404"
- cache-control:
- - no-cache
- transfer-encoding:
- - chunked
- body: "{\"error\":\"Resource not found\"}"
- http_version: "1.1"
-- !ruby/struct:VCR::HTTPInteraction
- request: !ruby/struct:VCR::Request
- method: :get
- uri: http://user:pass@www.example.com:80/roles/3.json
- body:
- headers:
- content-type:
- - application/json
- authorization:
- - Basic WHAT
- response: !ruby/struct:VCR::Response
- status: !ruby/struct:VCR::ResponseStatus
- code: 200
- message: OK
- headers:
- x-ua-compatible:
- - IE=Edge,chrome=1
- x-powered-by:
- - Phusion Passenger (mod_rails/mod_rack) 3.0.1
- etag:
- - "\"5c677ed1b8019c0e54089a5ec6c1eb0c\""
- content-type:
- - application/json; charset=utf-8
- date:
- - Thu, 14 Apr 2011 18:59:36 GMT
+ - Thu, 09 Feb 2012 20:23:43 GMT
server:
- Apache/2.2.3 (CentOS)
x-runtime:
- - "0.007870"
+ - "0.026021"
set-cookie:
- - _onapp_session=WHAT; path=/; HttpOnly
+ - <REDACTED>
cache-control:
- - max-age=0, private, must-revalidate
+ - no-cache
status:
- - "200"
+ - "404"
transfer-encoding:
- chunked
- body: "{\"role\":{\"label\":\"Other\",\"created_at\":\"2011-04-14T18:52:37Z\",\"updated_at\":\"2011-04-14T18:52:37Z\",\"id\":3,\"permissions\":[],\"identifier\":\"5ix73iwvoh7anf\"}}"
+ body: "{\"errors\":[\"Resource not found\"]}"
http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :put
- uri: http://user:pass@www.example.com:80/roles/3.json?role[label]=New
+ uri: http://<USER>:<PASS>@<URL>:80/roles/1.json?role[label]=New
body:
headers:
content-type:
- application/json
authorization:
- - Basic WHAT
+ - Basic <REDACTED>
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
message: OK
headers:
@@ -97,43 +58,20 @@
x-powered-by:
- Phusion Passenger (mod_rails/mod_rack) 3.0.1
content-type:
- application/json; charset=utf-8
x-runtime:
- - "0.020769"
+ - "0.941814"
server:
- Apache/2.2.3 (CentOS)
date:
- - Thu, 14 Apr 2011 19:06:11 GMT
+ - Thu, 09 Feb 2012 20:23:44 GMT
set-cookie:
- - _onapp_session=WHAT; path=/; HttpOnly
+ - <REDACTED>
status:
- "200"
cache-control:
- max-age=0, private, must-revalidate
transfer-encoding:
- chunked
body: "{}"
http_version: "1.1"
-- !ruby/struct:VCR::HTTPInteraction
- request: !ruby/struct:VCR::Request
- method: :get
- uri: http://user:pass@www.example.com:80/roles/3.json
- body:
- headers:
- content-type:
- - application/json
- authorization:
- - Basic WHAT
- response: !ruby/struct:VCR::Response
- status: !ruby/struct:VCR::ResponseStatus
- code: 302
- message: Found
- headers:
- location:
- - http://www.iana.org/domains/example/
- server:
- - BigIP
- content-length:
- - "0"
- body:
- http_version: "1.0"