spec/integration/pricing/v1/phone_number/country_spec.rb in twilio-ruby-5.8.0 vs spec/integration/pricing/v1/phone_number/country_spec.rb in twilio-ruby-5.8.1

- old
+ new

@@ -34,17 +34,17 @@ "iso_country": "AT", "url": "https://pricing.twilio.com/v1/PhoneNumbers/Countries/AT" } ], "meta": { - "first_page_url": "https://pricing.twilio.com/v1/PhoneNumbers/Countries?PageSize=1&Page=0", - "key": "countries", - "next_page_url": null, "page": 0, - "page_size": 1, + "page_size": 50, + "first_page_url": "https://pricing.twilio.com/v1/PhoneNumbers/Countries?PageSize=50&Page=0", "previous_page_url": null, - "url": "https://pricing.twilio.com/v1/PhoneNumbers/Countries?PageSize=1&Page=0" + "url": "https://pricing.twilio.com/v1/PhoneNumbers/Countries?PageSize=50&Page=0", + "next_page_url": null, + "key": "countries" } } ] )) @@ -59,17 +59,17 @@ 200, %q[ { "countries": [], "meta": { - "first_page_url": "https://pricing.twilio.com/v1/PhoneNumbers/Countries?PageSize=1&Page=0", + "first_page_url": "https://pricing.twilio.com/v1/PhoneNumbers/Countries?PageSize=50&Page=0", "key": "countries", "next_page_url": null, "page": 0, - "page_size": 1, + "page_size": 50, "previous_page_url": null, - "url": "https://pricing.twilio.com/v1/PhoneNumbers/Countries?PageSize=1&Page=0" + "url": "https://pricing.twilio.com/v1/PhoneNumbers/Countries?PageSize=50&Page=0" } } ] )) @@ -98,24 +98,24 @@ it "receives fetch responses" do @holodeck.mock(Twilio::Response.new( 200, %q[ { - "country": "Estonia", - "iso_country": "EE", + "country": "United States", + "iso_country": "US", "phone_number_prices": [ { - "base_price": 3.0, - "current_price": 3.0, - "type": "mobile" + "number_type": "local", + "base_price": "1.00", + "current_price": "1.00" }, { - "base_price": 1.0, - "current_price": 1.0, - "type": "national" + "number_type": "toll free", + "base_price": "2.00", + "current_price": "2.00" } ], - "price_unit": "usd", + "price_unit": "USD", "url": "https://pricing.twilio.com/v1/PhoneNumbers/Countries/US" } ] )) \ No newline at end of file