spec/integration/pricing/v1/messaging/country_spec.rb in twilio-ruby-5.8.0 vs spec/integration/pricing/v1/messaging/country_spec.rb in twilio-ruby-5.8.1
- old
+ new
@@ -28,17 +28,17 @@
200,
%q[
{
"countries": [],
"meta": {
- "first_page_url": "https://pricing.twilio.com/v1/Messaging/Countries?Page=0&PageSize=50",
+ "first_page_url": "https://pricing.twilio.com/v1/Messaging/Countries?PageSize=50&Page=0",
"key": "countries",
"next_page_url": null,
"page": 0,
- "page_size": 0,
+ "page_size": 50,
"previous_page_url": null,
- "url": "https://pricing.twilio.com/v1/Messaging/Countries"
+ "url": "https://pricing.twilio.com/v1/Messaging/Countries?PageSize=50&Page=0"
}
}
]
))
@@ -55,21 +55,21 @@
{
"countries": [
{
"country": "country",
"iso_country": "US",
- "url": "http://www.example.com"
+ "url": "https://pricing.twilio.com/v1/Messaging/Countries/US"
}
],
"meta": {
- "first_page_url": "https://pricing.twilio.com/v1/Messaging/Countries?Page=0&PageSize=50",
+ "first_page_url": "https://pricing.twilio.com/v1/Messaging/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/Messaging/Countries"
+ "url": "https://pricing.twilio.com/v1/Messaging/Countries?PageSize=50&Page=0"
}
}
]
))
@@ -101,12 +101,12 @@
%q[
{
"country": "country",
"inbound_sms_prices": [
{
- "base_price": 0.05,
- "current_price": 0.05,
+ "base_price": "0.05",
+ "current_price": "0.05",
"number_type": "mobile"
}
],
"iso_country": "US",
"outbound_sms_prices": [
@@ -114,18 +114,18 @@
"carrier": "att",
"mcc": "foo",
"mnc": "bar",
"prices": [
{
- "base_price": 0.05,
- "current_price": 0.05,
+ "base_price": "0.05",
+ "current_price": "0.05",
"number_type": "mobile"
}
]
}
],
"price_unit": "USD",
- "url": "http://www.example.com"
+ "url": "https://pricing.twilio.com/v1/Messaging/Countries/US"
}
]
))
actual = @client.pricing.v1.messaging \
\ No newline at end of file