spec/cassettes/messages/valid_message.yml in lifen-0.2.1 vs spec/cassettes/messages/valid_message.yml in lifen-1.0.0
- old
+ new
@@ -1,37 +1,37 @@
---
http_interactions:
- request:
method: post
- uri: https://develop.lifen.fr/central/api/chats/11e6b870-37a5-59af-ac0e-0242ac110002/messages
+ uri: https://develop.lifen.fr/central/api/chats/11e6be18-7a35-d759-9177-0242ac110002/messages
body:
encoding: UTF-8
- string: '{"content":"Bonjour Lifen"}'
+ string: '{"content":"Bonjour Lifen","type":"regular"}'
headers:
User-Agent:
- Faraday v0.10.0
- X-Auth-Token:
- - valid_token
+ Authorization:
+ - Bearer valide_token
Content-Type:
- application/json
+ Accept:
+ - application/json
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
- Accept:
- - "*/*"
response:
status:
code: 200
message: OK
headers:
Server:
- Apache-Coyote/1.1
X-B3-Sampled:
- '1'
X-B3-Spanid:
- - a8262c0e7a907672
+ - a92fe22c2aff6b2
X-B3-Traceid:
- - a8262c0e7a907672
+ - a92fe22c2aff6b2
X-Content-Type-Options:
- nosniff
X-Xss-Protection:
- 1; mode=block
Cache-Control:
@@ -39,19 +39,17 @@
Pragma:
- no-cache
Expires:
- '0'
Content-Type:
- - application/hal+json;charset=UTF-8
+ - application/json;charset=UTF-8
Transfer-Encoding:
- chunked
Date:
- - Fri, 02 Dec 2016 09:24:25 GMT
- Connection:
- - close
+ - Fri, 09 Dec 2016 15:01:17 GMT
body:
encoding: UTF-8
- string: '{"uuid":"11e6b871-1e02-9662-ac0e-0242ac110002","version":0,"content":"Bonjour
- Lifen","sentDate":"2016-12-02T09:24:25.568Z","read":true,"type":"regular","modificationDate":"2016-12-02T09:24:25.568Z","updateable":true}'
+ string: '{"uuid":"11e6be20-5647-8f9b-9177-0242ac110002","version":0,"content":"Bonjour
+ Lifen","sentDate":"2016-12-09T15:01:17.727Z","read":true,"type":"regular","modificationDate":"2016-12-09T15:01:17.714Z","updateable":true}'
http_version:
- recorded_at: Fri, 02 Dec 2016 09:23:50 GMT
+ recorded_at: Fri, 09 Dec 2016 14:59:27 GMT
recorded_with: VCR 3.0.3