spec/support/cassettes/accommodation_reserve.yml in quicktravel_client-3.7.0 vs spec/support/cassettes/accommodation_reserve.yml in quicktravel_client-3.8.0
- old
+ new
@@ -3,14 +3,16 @@
- request:
method: post
uri: http://test.qt.sealink.com.au:8080/reservation_for/accommodations/create_or_update.json
body:
encoding: UTF-8
- string: reservations[resource_id]=6&reservations[bed_configuration_id]=1&reservations[first_travel_date]=01%2F03%2F2016&reservations[last_travel_date]=02%2F03%2F2016&booking_id=4&access_key=<QT_KEY>
+ string: reservations[resource_id]=6&reservations[bed_configuration_id]=1&reservations[first_travel_date]=01%2F03%2F2016&reservations[last_travel_date]=02%2F03%2F2016&booking_id=4
headers:
Content-Length:
- '0'
+ X-API-KEY:
+ - <QT_KEY>
response:
status:
code: 200
message: 'OK '
headers:
@@ -57,14 +59,16 @@
- request:
method: get
uri: http://test.qt.sealink.com.au:8080/api/bookings/4.json
body:
encoding: UTF-8
- string: access_key=<QT_KEY>
+ string: ''
headers:
Content-Length:
- '0'
+ X-API-KEY:
+ - <QT_KEY>
response:
status:
code: 200
message: 'OK '
headers:
@@ -122,14 +126,16 @@
- request:
method: get
uri: http://test.qt.sealink.com.au:8080/api/bookings/4.json
body:
encoding: UTF-8
- string: access_key=<QT_KEY>
+ string: ''
headers:
Content-Length:
- '0'
+ X-API-KEY:
+ - <QT_KEY>
response:
status:
code: 200
message: 'OK '
headers:
@@ -187,13 +193,15 @@
- request:
method: get
uri: http://test.qt.sealink.com.au:8080/api/resources/6.json
body:
encoding: UTF-8
- string: access_key=<QT_KEY>
+ string: ''
headers:
Content-Length:
- '0'
+ X-API-KEY:
+ - <QT_KEY>
response:
status:
code: 200
message: 'OK '
headers: