spec/vcr_cassettes/whm/account/changepackage.yml in lumberg-1.0.1 vs spec/vcr_cassettes/whm/account/changepackage.yml in lumberg-1.0.3
- old
+ new
@@ -1,64 +1,94 @@
----
-- !ruby/struct:VCR::HTTPInteraction
- request: !ruby/struct:VCR::Request
- method: :get
+---
+http_interactions:
+- request:
+ method: get
uri: https://myhost.com:2087/json-api/changepackage?pkg=default&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\":\"Sorry the user notexists does not exist\",\"rawout\":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":"Sorry the user notexists does
+ not exist","rawout":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/changepackage?pkg=fakepackage&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\":\"Specified package does not exist.\",\"rawout\":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":"Specified package does not exist.","rawout":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/changepackage?pkg=gold&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\":\"Account Upgrade/Downgrade Complete for changeme\",\"rawout\":\"<pre>\\nChanging bwlimit to unlimited Meg\\nChanging Feature List to default\\nChanging max pop accounts from unlimited to unlimited\\nChanging max sql accounts from unlimited to unlimited\\nChanging max ftp accounts from unlimited to unlimited\\nChanging max lists from unlimited to unlimited\\nChanging max sub domains from unlimited to unlimited\\nChanging language from en to en\\nChanging max parked domains from 0 to 0\\nChanging max addon domains from 0 to 0\\nShell Access Set Correctly (noshell)\\nChanging cPanel theme from to \\nChanging plan from gold to gold\\nResetting QUOTA....\\nUsing Universal Quota Support (quota=0)\\nBandwidth limit (0) is lower than (unlimited) (all limits removed)<br /><blockquote><div style='float:left;'>Enabling...</div><div style='float:left;'>...example.com...</div><div style='float:left;'>Done</div></blockquote><br /><div class='clearit' style='clear:both; width:80%;'> </div><span class=\\\"b2\\\">Warning, this will not change shared IP accounts to dedicated IP accounts, or the reverse.</span>\\n\"}]}"
- http_version: "1.1"
+ body:
+ encoding: UTF-8
+ string: ! '{"result":[{"status":1,"statusmsg":"Account Upgrade/Downgrade Complete
+ for changeme","rawout":"<pre>\nChanging bwlimit to unlimited Meg\nChanging
+ Feature List to default\nChanging max pop accounts from unlimited to unlimited\nChanging
+ max sql accounts from unlimited to unlimited\nChanging max ftp accounts from
+ unlimited to unlimited\nChanging max lists from unlimited to unlimited\nChanging
+ max sub domains from unlimited to unlimited\nChanging language from en to
+ en\nChanging max parked domains from 0 to 0\nChanging max addon domains from
+ 0 to 0\nShell Access Set Correctly (noshell)\nChanging cPanel theme from to
+ \nChanging plan from gold to gold\nResetting QUOTA....\nUsing Universal Quota
+ Support (quota=0)\nBandwidth limit (0) is lower than (unlimited) (all limits
+ removed)<br /><blockquote><div style=''float:left;''>Enabling...</div><div
+ style=''float:left;''>...example.com...</div><div style=''float:left;''>Done</div></blockquote><br
+ /><div class=''clearit'' style=''clear:both; width:80%;''> </div><span
+ class=\"b2\">Warning, this will not change shared IP accounts to dedicated
+ IP accounts, or the reverse.</span>\n"}]}'
+ http_version: '1.1'
+ recorded_at: Wed, 07 Mar 2012 21:53:52 GMT
+recorded_with: VCR 2.0.0
+...