spec/fixtures/slack/web/views_open_error.yml in slack-ruby-client-0.17.0 vs spec/fixtures/slack/web/views_open_error.yml in slack-ruby-client-1.0.0

- old
+ new

@@ -3,74 +3,81 @@ - request: method: post uri: https://slack.com/api/views.open body: encoding: UTF-8 - string: token=token&trigger_id=trigger_id&view=%7B%7D + string: trigger_id=trigger_id&view=%7B%7D headers: Accept: - application/json; charset=utf-8 User-Agent: - - Slack Ruby Client/0.14.6 + - Slack Ruby Client/0.18.0 + Authorization: + - Bearer <SLACK_API_TOKEN> Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 200 message: OK headers: - Content-Type: - - application/json; charset=utf-8 - Content-Length: - - '154' - Connection: - - keep-alive Date: - - Wed, 19 Feb 2020 17:52:59 GMT + - Sat, 04 Dec 2021 20:13:20 GMT Server: - Apache - X-Content-Type-Options: - - nosniff + Access-Control-Allow-Origin: + - "*" + Referrer-Policy: + - no-referrer + X-Slack-Backend: + - r + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload + Access-Control-Allow-Headers: + - slack-route, x-slack-version-ts, x-b3-traceid, x-b3-spanid, x-b3-parentspanid, + x-b3-sampled, x-b3-flags + Access-Control-Expose-Headers: + - x-slack-req-id, retry-after + X-Oauth-Scopes: + - identify,read,post,client,apps Expires: - Mon, 26 Jul 1997 05:00:00 GMT Cache-Control: - private, no-cache, no-store, must-revalidate + Pragma: + - no-cache X-Xss-Protection: - '0' + X-Content-Type-Options: + - nosniff + X-Slack-Req-Id: + - 0215a1462c28174d87b50ee7a2c61a2d Vary: - Accept-Encoding - Pragma: - - no-cache - Access-Control-Allow-Headers: - - slack-route, x-slack-version-ts, x-b3-traceid, x-b3-spanid, x-b3-parentspanid, - x-b3-sampled, x-b3-flags - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - Referrer-Policy: - - no-referrer - X-Slack-Backend: - - h - Access-Control-Expose-Headers: - - x-slack-req-id, retry-after - Access-Control-Allow-Origin: - - "*" - X-Via: - - haproxy-www-ixj4 - X-Cache: - - Miss from cloudfront + Content-Length: + - '166' + Content-Type: + - application/json; charset=utf-8 + X-Envoy-Upstream-Service-Time: + - '22' + X-Backend: + - main_normal main_bedrock_normal_with_overflow main_canary_with_overflow main_bedrock_canary_with_overflow + main_control_with_overflow main_bedrock_control_with_overflow + X-Server: + - slack-www-hhvm-main-iad-z2dw + X-Slack-Shared-Secret-Outcome: + - no-match Via: - - 1.1 b6cc1359c0cd55a8339441d8abb6a450.cloudfront.net (CloudFront) - X-Amz-Cf-Pop: - - JFK51-C1 - X-Amz-Cf-Id: - - fWF96IvY1omctxPC6XwjvZ2TIfpmVLlsT35MsfAWqK7zDChMCpE_oQ== + - envoy-www-iad-d0gh, envoy-edge-canary-iad-e4we + X-Edge-Backend: + - envoy-www + X-Slack-Edge-Shared-Secret-Outcome: + - no-match body: - encoding: ASCII-8BIT + encoding: UTF-8 string: '{"ok":false,"error":"invalid_arguments","response_metadata":{"messages":["[ERROR] - missing required field: title [json-pointer:\/view]","[ERROR] missing required - field: blocks [json-pointer:\/view]","[ERROR] missing required field: type - [json-pointer:\/view]"]}}' - http_version: null - recorded_at: Wed, 19 Feb 2020 17:52:59 GMT -recorded_with: VCR 5.1.0 + failed to match all allowed schemas [json-pointer:\/view]","[ERROR] missing + required field: type [json-pointer:\/view]"]}}' + recorded_at: Sat, 19 Jan 2019 21:25:48 GMT +recorded_with: VCR 6.0.0