spec/cassettes/users/create/missing_fields.yml in lifen-0.2.1 vs spec/cassettes/users/create/missing_fields.yml in lifen-1.0.0

- old
+ new

@@ -3,53 +3,58 @@ - request: method: post uri: https://develop.lifen.fr/authentication/api/register/third_party body: encoding: UTF-8 - string: '{"emailAddress":null,"lastName":null,"firstName":null}' + string: '{"emailAddress":null,"lastName":null,"firstName":"Marc"}' headers: User-Agent: - - Faraday v0.9.2 - Secret-Key: - - valid_secret_key + - Faraday v0.10.0 + Authorization: + - Bearer valid_application_access_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: 400 - message: Bad Request + code: 401 + message: Unauthorized headers: Server: - Apache-Coyote/1.1 X-B3-Sampled: - '1' X-B3-Spanid: - - ecbe4a68ac59ff06 + - 5f594a52a125cb57 X-B3-Traceid: - - ecbe4a68ac59ff06 + - 5f594a52a125cb57 X-Content-Type-Options: - nosniff X-Xss-Protection: - 1; mode=block Cache-Control: - no-cache, no-store, max-age=0, must-revalidate + - no-store Pragma: - no-cache + - no-cache Expires: - '0' + Www-Authenticate: + - 'Bearer realm="oauth", error="invalid_token", error_description="Invalid access + token: valid_application_access_token"' Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: - chunked Date: - - Wed, 07 Sep 2016 12:35:11 GMT + - Fri, 09 Dec 2016 09:48:27 GMT body: encoding: UTF-8 - string: '{"timestamp":"2016-09-07T12:35:11.438+0000","status":400,"error":"Bad - Request","code":"error.badrequest","X-B3-TraceId":"ecbe4a68ac59ff06","X-B3-SpanId":"ecbe4a68ac59ff06"}' + string: '{"error":"invalid_token","error_description":"Invalid access token: + valid_application_access_token"}' http_version: - recorded_at: Wed, 07 Sep 2016 12:35:07 GMT + recorded_at: Fri, 09 Dec 2016 09:46:36 GMT recorded_with: VCR 3.0.3