test/fixtures/quaderno_cassettes/new_invoice.yml in quaderno-1.3.1 vs test/fixtures/quaderno_cassettes/new_invoice.yml in quaderno-1.3.2
- old
+ new
@@ -1,25 +1,25 @@
---
http_interactions:
- request:
method: get
- uri: http://kAppsMggGcw8psUwdZBV@sandbox-quadernoapp.com/ninive-688/api/v1/contacts.json
+ uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/contacts.json
body:
encoding: US-ASCII
string: ''
headers:
authorization:
- - Basic a0FwcHNNZ2dHY3c4cHNVd2RaQlY6
+ - Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
response:
status:
code: 200
message: OK
headers:
server:
- nginx/1.4.5
date:
- - Fri, 13 Jun 2014 12:29:26 GMT
+ - Tue, 01 Jul 2014 09:07:36 GMT
content-type:
- application/json; charset=utf-8
transfer-encoding:
- chunked
connection:
@@ -27,68 +27,55 @@
status:
- 200 OK
x-ratelimit-limit:
- '2000'
x-ratelimit-remaining:
- - '1552'
+ - '1951'
x-pages-currentpage:
- '1'
x-pages-totalpages:
- - '5'
+ - '1'
x-ua-compatible:
- IE=Edge,chrome=1
etag:
- - ! '"c8dc64244b78ebaeae0681e06d44ee7b"'
+ - ! '"bcad972a420d51a47d312c5b43926c87"'
cache-control:
- must-revalidate, private, max-age=0
x-request-id:
- - 0d783327b4a9336b11342c16c8412a50
+ - 420b1ce6e185786f514a4a6d570e6c2f
x-runtime:
- - '0.146907'
+ - '0.103040'
x-rack-cache:
- miss
body:
encoding: US-ASCII
- string: ! '[{"id":760,"kind":"company","full_name":"\u0003 esatipa","contact_name":null,"street_line_1":"Torres
- Quevedo","street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"673832948","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/760"},{"id":113,"kind":"company","full_name":"100-499","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"totoro.estepario@gmail.com","web":null,"discount":null,"tax_id":"","bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/113"},{"id":725,"kind":"company","full_name":"Aitor
- Hernandez Pe\u00f1a","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"aithor123@gmail.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/725"},{"id":742,"kind":"company","full_name":"Akira
- Comics S.L.","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"akira@akiracomics.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/742"},{"id":694,"kind":"company","full_name":"Ale","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"+34650960183","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/694"},{"id":498,"kind":"company","full_name":"Alejandro","contact_name":"","street_line_1":"","street_line_2":"","postal_code":"","city":"","region":"","country":"ES","phone_1":"","phone_2":"","fax":"","email":"alexmanalopez@gmail.com","web":"","discount":null,"tax_id":"","bank_account":"","language":"ES","notes":"","url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/498"},{"id":744,"kind":"company","full_name":"Alejandro
- Lopez Santos","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"alexmanalopez@gmail.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/744"},{"id":739,"kind":"company","full_name":"ANA","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"ana@vali2.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/739"},{"id":773,"kind":"company","full_name":"Angel
- Ramos de Miguel","contact_name":null,"street_line_1":";;;Las Palmas de Gran
- Canaria;;;Espa\u00f1a","street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"668829133","phone_2":null,"fax":null,"email":"aramos.gcc@gmail.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/773"},{"id":717,"kind":"company","full_name":"Angel
- Ramos de Miguel","contact_name":null,"street_line_1":";;;Las Palmas de Gran
- Canaria;;;Espa\u00f1a","street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"668829133","phone_2":null,"fax":null,"email":"aramos.gcc@gmail.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/717"},{"id":748,"kind":"company","full_name":"Antonio Brito","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"605100535","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/748"},{"id":752,"kind":"company","full_name":"Antonio
- C. Dom\u00ednguez Brito","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"adominguez@iusiani.ulpgc.es","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/752"},{"id":733,"kind":"company","full_name":"aviso_llegada","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"avisollegada@adtpostales.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/733"},{"id":764,"kind":"company","full_name":"Aythami","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"678875767","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/764"},{"id":736,"kind":"company","full_name":"Borja
- Santana Corvo","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"ahviel@hotmail.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/736"},{"id":713,"kind":"company","full_name":"Bycor","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"+34646675709","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/713"},{"id":728,"kind":"company","full_name":"Bycor
- S\u00e1nchez","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"bycor1989@gmail.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/728"},{"id":729,"kind":"company","full_name":"Canal
- Amena","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"2224","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/729"},{"id":755,"kind":"company","full_name":"Carlos
- Hern\u00e1ndez","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"620815221","phone_2":null,"fax":null,"email":"carlos@recrea.es","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/755"},{"id":735,"kind":"company","full_name":"Carlos
- Hern\u00e1ndez Medina","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"carlos@recrea.es","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/735"},{"id":686,"kind":"company","full_name":"Coolmod","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"902
- 88 85 34","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/686"},{"id":749,"kind":"company","full_name":"Cristina","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"+34650756263","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/749"},{"id":726,"kind":"company","full_name":"Cruz
- Roja","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"987795001","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/726"},{"id":763,"kind":"company","full_name":"Dalia","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":"637
- 22 08 60","phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/763"},{"id":674,"kind":"company","full_name":"Dav
- Mel God","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"arthas_guay@hotmail.com","web":null,"discount":null,"tax_id":null,"bank_account":null,"language":"EN","notes":null,"url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/contacts/674"}]'
+ string: ! '[{"id":142297,"kind":"company","full_name":"Dummy","contact_name":null,"street_line_1":"","street_line_2":null,"postal_code":"","city":"","region":"","country":"US","phone_1":"","phone_2":null,"fax":null,"email":"","web":null,"discount":null,"tax_id":"","language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142297"},{"id":142302,"kind":"company","full_name":"Pepe
+ Gotera & Otilio","contact_name":null,"street_line_1":"","street_line_2":null,"postal_code":"","city":"","region":"","country":"ES","phone_1":"","phone_2":null,"fax":null,"email":"","web":null,"discount":null,"tax_id":"","bank_account":null,"language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142302"},{"id":142298,"kind":"company","full_name":"Test","contact_name":null,"street_line_1":"Evergreen
+ Terrace","street_line_2":null,"postal_code":"K0A 1B0","city":"Springfield","region":"","country":"US","phone_1":"3447277","phone_2":null,"fax":null,"email":"","web":null,"discount":null,"tax_id":"","language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142298"},{"id":142299,"kind":"person","first_name":"Test_OCP","last_name":"Stanman","full_name":"Test_OCP
+ Stanman","street_line_1":"","street_line_2":null,"postal_code":"","city":"","region":"Monkey
+ Island","country":"BS","phone_1":"","phone_2":null,"fax":null,"email":"dont@stop.believing","web":null,"discount":null,"tax_id":"","language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142299"},{"id":142303,"kind":"company","full_name":"Test_Skynet","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"US","phone_1":null,"phone_2":null,"fax":null,"email":"my_little@po.ny","web":null,"discount":null,"tax_id":null,"language":"EN","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142303"},{"id":142301,"kind":"person","first_name":"Vince","last_name":"Offer","full_name":"Vince
+ Offer","street_line_1":"","street_line_2":null,"postal_code":"","city":"","region":"","country":"US","phone_1":"","phone_2":null,"fax":null,"email":"","web":null,"discount":null,"tax_id":"","language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142301"}]'
http_version: '1.1'
- recorded_at: Fri, 13 Jun 2014 12:29:26 GMT
+ recorded_at: Tue, 01 Jul 2014 09:07:36 GMT
- request:
method: post
- uri: http://kAppsMggGcw8psUwdZBV@sandbox-quadernoapp.com/ninive-688/api/v1/invoices.json
+ uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/invoices.json
body:
encoding: US-ASCII
- string: contact_id=760&contact_name=%03%20esatipa¤cy=EUR&items_attributes[][description]=Aircraft&items_attributes[][quantity]=1.0&items_attributes[][unit_price]=0.0&tags=tnt&payment_details=¬es=
+ string: contact_id=142297&contact_name=Dummy¤cy=EUR&items_attributes[][description]=Aircraft&items_attributes[][quantity]=1.0&items_attributes[][unit_price]=0.0&tags=tnt&payment_details=¬es=
headers:
authorization:
- - Basic a0FwcHNNZ2dHY3c4cHNVd2RaQlY6
+ - Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
response:
status:
code: 201
message: Created
headers:
server:
- nginx/1.4.5
date:
- - Fri, 13 Jun 2014 12:29:27 GMT
+ - Tue, 01 Jul 2014 09:07:37 GMT
content-type:
- application/json; charset=utf-8
transfer-encoding:
- chunked
connection:
@@ -96,74 +83,73 @@
status:
- 201 Created
x-ratelimit-limit:
- '2000'
x-ratelimit-remaining:
- - '1551'
+ - '1950'
x-ua-compatible:
- IE=Edge,chrome=1
etag:
- - ! '"d4331c07b59009737810e1fa1389c968"'
+ - ! '"3839b1b1dcd6c7a51a387374c4963e37"'
cache-control:
- max-age=0, private, must-revalidate
set-cookie:
- - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTg5NzJiZmNiM2ViNjM0YmQ0MThiNGE3YTg1NTM0ZGY3BjsAVA%3D%3D--d1bb27f2206af640c9fc683f395cc61d937c8d8f;
+ - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTAxODI1YjIwMDUyNjI2ZjI0YTIxMGUxNTVjYzljNDhhBjsAVA%3D%3D--330eebb5d0648cf9b6f5f8905e938df8153e9607;
domain=sandbox-quadernoapp.com; path=/; HttpOnly
x-request-id:
- - 4e90b2d029f13b545d59c8517c6695e6
+ - 4856d9bc88b243ea3b373ab5a8626198
x-runtime:
- - '0.292190'
+ - '0.165287'
x-rack-cache:
- invalidate, pass
body:
encoding: US-ASCII
- string: ! '{"id":533,"number":"xxxx-2","issue_date":"2014-06-13","contact":{"id":760,"full_name":"\u0003
- esatipa"},"po_number":null,"due_date":null,"currency":"EUR","items":[{"id":687,"description":"Aircraft","quantity":"1.0","unit_price":"0.0","discount_rate":"0.0","tax_1_name":null,"tax_1_rate":null,"tax_2_name":null,"tax_2_rate":null,"reference":null,"subtotal":"0.00
+ string: ! '{"id":492379,"number":"0000004","issue_date":"2014-07-01","contact":{"id":142297,"full_name":"Dummy"},"po_number":null,"due_date":null,"currency":"EUR","items":[{"id":1294898,"description":"Aircraft","quantity":"1.0","unit_price":"0.0","discount_rate":"0.0","tax_1_name":null,"tax_1_rate":null,"tax_2_name":null,"tax_2_rate":null,"reference":null,"subtotal":"0.00
\u20ac","discount":"0.00 \u20ac","gross_amount":"0.00 \u20ac"}],"subtotal":"0.00
- \u20ac","discount":"0.00 \u20ac","taxes":[],"total":"0.00 \u20ac","payments":[],"payment_details":"","notes":"","state":"draft","tag_list":[],"secure_id":"7efbff31b83901384c9be4cb75675389c669b4b6","permalink":"http://ninive-688.sandbox-quadernoapp.com/invoice/7efbff31b83901384c9be4cb75675389c669b4b6","url":"http://ninive-688.sandbox-quadernoapp.com/api/v1/invoices/533.json"}'
+ \u20ac","discount":"0.00 \u20ac","taxes":[],"total":"0.00 \u20ac","payments":[],"payment_details":"","notes":"","state":"draft","tag_list":[],"secure_id":"15307b45e8eb57c94c9e77bc61bc0b5fafba77a5","permalink":"http://uruk-1066.sandbox-quadernoapp.com/invoice/15307b45e8eb57c94c9e77bc61bc0b5fafba77a5","url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/invoices/492379.json"}'
http_version: '1.1'
- recorded_at: Fri, 13 Jun 2014 12:29:27 GMT
+ recorded_at: Tue, 01 Jul 2014 09:07:38 GMT
- request:
method: delete
- uri: http://kAppsMggGcw8psUwdZBV@sandbox-quadernoapp.com/ninive-688/api/v1/invoices/533.json
+ uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/invoices/492379.json
body:
encoding: US-ASCII
string: ''
headers:
authorization:
- - Basic a0FwcHNNZ2dHY3c4cHNVd2RaQlY6
+ - Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6
response:
status:
code: 204
message: No Content
headers:
server:
- nginx/1.4.5
date:
- - Fri, 13 Jun 2014 12:29:28 GMT
+ - Tue, 01 Jul 2014 09:07:38 GMT
connection:
- close
status:
- 204 No Content
x-ratelimit-limit:
- '2000'
x-ratelimit-remaining:
- - '1550'
+ - '1949'
x-ua-compatible:
- IE=Edge,chrome=1
cache-control:
- no-cache
set-cookie:
- - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTg5ZjM3MzBiNzMzOWY1OWU2YzYxZWRiZDZhODNmZWU1BjsAVA%3D%3D--18b6fd2f7c6f7acb6c6ce7184f09f632eeef290a;
+ - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJWJkNjI2YmIxNmE3MDgyM2IwYzhmMGUzNjYzNDQwYWMxBjsAVA%3D%3D--da90748417eed6267de3231be614ecf73cbe750c;
domain=sandbox-quadernoapp.com; path=/; HttpOnly
x-request-id:
- - ecbc34c1665c925963e597ad0d6b9689
+ - c91522e49a22eb817e15c085ee454d54
x-runtime:
- - '0.092298'
+ - '0.213666'
x-rack-cache:
- invalidate, pass
body:
encoding: US-ASCII
string: ''
http_version: '1.1'
- recorded_at: Fri, 13 Jun 2014 12:29:28 GMT
+ recorded_at: Tue, 01 Jul 2014 09:07:38 GMT
recorded_with: VCR 2.9.2