spec/integration/wireless/v1/rate_plan_spec.rb in twilio-ruby-5.6.3 vs spec/integration/wireless/v1/rate_plan_spec.rb in twilio-ruby-5.6.4
- old
+ new
@@ -95,11 +95,11 @@
it "can fetch" do
@holodeck.mock(Twilio::Response.new(500, ''))
expect {
- @client.wireless.v1.rate_plans("WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").fetch()
+ @client.wireless.v1.rate_plans('WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
}.to raise_exception(Twilio::REST::TwilioError)
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
@@ -135,11 +135,11 @@
"url": "https://wireless.twilio.com/v1/RatePlans/WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
]
))
- actual = @client.wireless.v1.rate_plans("WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").fetch()
+ actual = @client.wireless.v1.rate_plans('WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
expect(actual).to_not eq(nil)
end
it "can create" do
@@ -193,11 +193,11 @@
it "can update" do
@holodeck.mock(Twilio::Response.new(500, ''))
expect {
- @client.wireless.v1.rate_plans("WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update()
+ @client.wireless.v1.rate_plans('WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
}.to raise_exception(Twilio::REST::TwilioError)
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
@@ -233,20 +233,20 @@
"url": "https://wireless.twilio.com/v1/RatePlans/WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
]
))
- actual = @client.wireless.v1.rate_plans("WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update()
+ actual = @client.wireless.v1.rate_plans('WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
expect(actual).to_not eq(nil)
end
it "can delete" do
@holodeck.mock(Twilio::Response.new(500, ''))
expect {
- @client.wireless.v1.rate_plans("WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").delete()
+ @client.wireless.v1.rate_plans('WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
}.to raise_exception(Twilio::REST::TwilioError)
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
@@ -259,10 +259,10 @@
@holodeck.mock(Twilio::Response.new(
204,
nil,
))
- actual = @client.wireless.v1.rate_plans("WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").delete()
+ actual = @client.wireless.v1.rate_plans('WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
expect(actual).to eq(true)
end
end
\ No newline at end of file