spec/vcr_cassettes/whm/account/editquota.yml in lumberg-1.0.1 vs spec/vcr_cassettes/whm/account/editquota.yml in lumberg-1.0.3

- old
+ new

@@ -1,85 +1,106 @@ ---- -- !ruby/struct:VCR::HTTPInteraction - request: !ruby/struct:VCR::Request - method: :get +--- +http_interactions: +- request: + method: get uri: https://myhost.com:2087/json-api/editquota?quota=500&user=notexists - body: - headers: - authorization: + body: + encoding: US-ASCII + string: '' + headers: + Authorization: - WHM root:iscool - response: !ruby/struct:VCR::Response - status: !ruby/struct:VCR::ResponseStatus + response: + status: code: 200 message: OK - headers: - content-type: + headers: + Content-Type: - text/plain - server: + Server: - cpsrvd/11.28.64 - transfer-encoding: + Transfer-Encoding: - chunked - body: "{\"result\":[{\"status\":0,\"statusmsg\":\"Invalid user. Cannot set quota.\"}],\"output\":null}" - http_version: "1.1" -- !ruby/struct:VCR::HTTPInteraction - request: !ruby/struct:VCR::Request - method: :get + body: + encoding: UTF-8 + string: ! '{"result":[{"status":0,"statusmsg":"Invalid user. Cannot set quota."}],"output":null}' + http_version: '1.1' + recorded_at: Wed, 07 Mar 2012 21:53:52 GMT +- request: + method: get uri: https://myhost.com:2087/json-api/editquota?quota=500&user=changeme - body: - headers: - authorization: + body: + encoding: US-ASCII + string: '' + headers: + Authorization: - WHM root:iscool - response: !ruby/struct:VCR::Response - status: !ruby/struct:VCR::ResponseStatus + response: + status: code: 200 message: OK - headers: - content-type: + headers: + Content-Type: - text/plain - server: + Server: - cpsrvd/11.28.64 - transfer-encoding: + Transfer-Encoding: - chunked - body: "{\"result\":[{\"status\":1,\"statusmsg\":\"Set quota for user.\"}],\"output\":\"Using Universal Quota Support (quota=512000)\\n\"}" - http_version: "1.1" -- !ruby/struct:VCR::HTTPInteraction - request: !ruby/struct:VCR::Request - method: :get + body: + encoding: UTF-8 + string: ! '{"result":[{"status":1,"statusmsg":"Set quota for user."}],"output":"Using + Universal Quota Support (quota=512000)\n"}' + http_version: '1.1' + recorded_at: Wed, 07 Mar 2012 21:53:52 GMT +- request: + method: get uri: https://myhost.com:2087/json-api/editquota?quota=-1&user=changeme - body: - headers: - authorization: + body: + encoding: US-ASCII + string: '' + headers: + Authorization: - WHM root:iscool - response: !ruby/struct:VCR::Response - status: !ruby/struct:VCR::ResponseStatus + response: + status: code: 200 message: OK - headers: - content-type: + headers: + Content-Type: - text/plain - server: + Server: - cpsrvd/11.28.64 - transfer-encoding: + Transfer-Encoding: - chunked - body: "{\"result\":[{\"status\":0,\"statusmsg\":\"Failed to set quota for user.\"}],\"output\":\"Invalid quota\\nUsage: editquota <user> <?M>\\n\"}" - http_version: "1.1" -- !ruby/struct:VCR::HTTPInteraction - request: !ruby/struct:VCR::Request - method: :get + body: + encoding: UTF-8 + string: ! '{"result":[{"status":0,"statusmsg":"Failed to set quota for user."}],"output":"Invalid + quota\nUsage: editquota <user> <?M>\n"}' + http_version: '1.1' + recorded_at: Wed, 07 Mar 2012 21:53:52 GMT +- request: + method: get uri: https://myhost.com:2087/json-api/editquota?quota=-1&user=notexists - body: - headers: - authorization: + body: + encoding: US-ASCII + string: '' + headers: + Authorization: - WHM root:iscool - response: !ruby/struct:VCR::Response - status: !ruby/struct:VCR::ResponseStatus + response: + status: code: 200 message: OK - headers: - content-type: + headers: + Content-Type: - text/plain - server: + Server: - cpsrvd/11.28.64 - transfer-encoding: + Transfer-Encoding: - chunked - body: "{\"result\":[{\"status\":0,\"statusmsg\":\"Invalid user. Cannot set quota.\"}],\"output\":null}" - http_version: "1.1" + body: + encoding: UTF-8 + string: ! '{"result":[{"status":0,"statusmsg":"Invalid user. Cannot set quota."}],"output":null}' + http_version: '1.1' + recorded_at: Wed, 07 Mar 2012 21:53:52 GMT +recorded_with: VCR 2.0.0 +...