spec/fixtures/parametered_get.yml in nationbuilder-rb-0.4.0 vs spec/fixtures/parametered_get.yml in nationbuilder-rb-0.4.1

- old
+ new

@@ -1,79 +1,89 @@ --- http_interactions: - request: method: get - uri: https://dh.nationbuilder.com/api/v1/sites/dh/pages/basic_pages?access_token=6e516b5d9a3d21b3cc079bc303c01aae3d59c8d4a7e9e6d2acfc11dada0e054e + uri: https://dh.nationbuilder.com/api/v1/sites/dh/pages/basic_pages?access_token=6ed3ab9395daf0e3e39098761e85e8e703aa84921c5c1e32637f6984944cf1f2 body: encoding: UTF-8 string: '' headers: User-Agent: - HTTPClient/1.0 (2.4.0, ruby 2.0.0 (2013-11-22)) Accept: - application/json Date: - - Wed, 25 Jun 2014 22:28:30 GMT + - Tue, 07 Oct 2014 17:43:45 GMT Content-Type: - application/json response: status: code: 200 message: OK headers: Server: - cloudflare-nginx Date: - - Wed, 25 Jun 2014 22:28:31 GMT + - Tue, 07 Oct 2014 17:43:45 GMT Content-Type: - application/json Transfer-Encoding: - chunked Connection: - keep-alive Set-Cookie: - - __cfduid=d32a8837f08e39176e4d1ed146327e7201403735310572; expires=Mon, 23-Dec-2019 + - __cfduid=dc85ea66763b55e2f4cf2e6db2b9fb1e41412703825613; expires=Mon, 23-Dec-2019 23:50:00 GMT; path=/; domain=.nationbuilder.com; HttpOnly - X-Ua-Compatible: - - IE=Edge,chrome=1 Cache-Control: - max-age=0, private, must-revalidate + Etag: + - W/"a9e3c4325c7d65e5dff1402691d9f2dc" Nation-Ratelimit-Limit: - - '10000' + - '-1' Nation-Ratelimit-Remaining: - - '9973' + - '0' Nation-Ratelimit-Reset: - - '1403740800' - X-Request-Id: - - c833875bc9d08cf43ca93454d0a4f70f - X-Runtime: - - '0.697364' - X-Rack-Cache: - - miss - X-Powered-By: - - Phusion Passenger 4.0.23 + - '1412726400' Status: - 200 OK Vary: - Accept-Encoding + X-Powered-By: + - Phusion Passenger 4.0.48 + X-Rack-Cache: + - miss + X-Ratelimit-Limit: + - 33s + X-Ratelimit-Remaining: + - '49999' + X-Ratelimit-Reset: + - '32.999994763' + X-Request-Id: + - 76d4b8c496c8a13cc7e2923c29b7fd21 + X-Runtime: + - '0.084677' + X-Ua-Compatible: + - IE=Edge,chrome=1 Via: - 1.1 nationbuilder.com Cf-Ray: - - 1404993b14380d67-LAX + - 175be71e1eec0679-LAX body: encoding: UTF-8 - string: '{"page":1,"total_pages":1,"per_page":10,"total":1,"results":[{"slug":"about","path":"/about","status":"published","site_slug":"dh","name":"About","headline":"About","title":"About - - dh","excerpt":"","author_id":2,"published_at":"2013-07-08T11:07:00-07:00","external_id":null,"tags":[],"id":1,"content":"<div - style=\"float: right; margin: 0 0 10px 25px;\"><img class=\"img-circle\" src=\"boats.jpg\" - alt=\"\"></div>\r\n<p>This is where you tell everyone what your blog is about. - Explain what the intended purpose of your blog is, if there is one. If multiple - people will be writing for your blog, you might consider posting photos and - bios of the contributors.</p>\r\n<p>Proin libero diam, consequat ut nisl vestibulum, - commodo scelerisque lacus. In vehicula, est quis rhoncus tristique, dolor - sapien aliquam arcu, ut vulputate quam enim quis augue. Phasellus id nunc - vitae lectus dapibus viverra malesuada at nibh. Suspendisse sagittis odio - non ipsum feugiat porta.</p>\r\n<p>\u00a0</p>\r\n<p><strong>To change this - content, click \"Edit this page\" in the Supporter Nav on the right,<br>or - from your Control Panel navigate to Websites &gt; [about] &gt; Content.</strong></p>"}]}' + string: '{"page":1,"total_pages":1,"per_page":10,"total":2,"results":[{"slug":"test","path":"/test","status":"drafted","site_slug":"dh","name":"test","headline":"test","title":"test + - dh","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":3,"content":null},{"slug":"about","path":"/about","status":"published","site_slug":"dh","name":"About","headline":"About","title":"About + - dh","excerpt":"","author_id":2,"published_at":"2013-07-08T11:07:00-07:00","external_id":null,"tags":[],"id":1,"content":"\u003Cdiv + style=\"float: right; margin: 0 0 10px 25px;\"\u003E\u003Cimg class=\"img-circle\" + src=\"boats.jpg\" alt=\"\"\u003E\u003C/div\u003E\r\n\u003Cp\u003EThis is where + you tell everyone what your blog is about. Explain what the intended purpose + of your blog is, if there is one. If multiple people will be writing for your + blog, you might consider posting photos and bios of the contributors.\u003C/p\u003E\r\n\u003Cp\u003EProin + libero diam, consequat ut nisl vestibulum, commodo scelerisque lacus. In vehicula, + est quis rhoncus tristique, dolor sapien aliquam arcu, ut vulputate quam enim + quis augue. Phasellus id nunc vitae lectus dapibus viverra malesuada at nibh. + Suspendisse sagittis odio non ipsum feugiat porta.\u003C/p\u003E\r\n\u003Cp\u003E\u00a0\u003C/p\u003E\r\n\u003Cp\u003E\u003Cstrong\u003ETo + change this content, click \"Edit this page\" in the Supporter Nav on the + right,\u003Cbr\u003Eor from your Control Panel navigate to Websites \u0026gt; + [about] \u0026gt; Content.\u003C/strong\u003E\u003C/p\u003E"}],"next":null,"prev":null}' http_version: - recorded_at: Wed, 25 Jun 2014 22:28:31 GMT + recorded_at: Tue, 07 Oct 2014 17:43:46 GMT recorded_with: VCR 2.9.2