spec/integration/preview/studio/flow/engagement_spec.rb in twilio-ruby-5.6.0 vs spec/integration/preview/studio/flow/engagement_spec.rb in twilio-ruby-5.6.1
- old
+ new
@@ -95,14 +95,14 @@
it "can create" do
@holodeck.mock(Twilio::Response.new(500, ''))
expect {
@client.preview.studio.flows("FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
- .engagements.create(to: "+123456789", from: "+987654321")
+ .engagements.create(to: "+15558675310", from: "+15017122661")
}.to raise_exception(Twilio::REST::TwilioError)
- values = {'To' => "+123456789", 'From' => "+987654321"}
+ values = {'To' => "+15558675310", 'From' => "+15017122661", }
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'post',
url: 'https://preview.twilio.com/Studio/Flows/FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Engagements',
data: values,
@@ -134,10 +134,10 @@
}
]
))
actual = @client.preview.studio.flows("FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
- .engagements.create(to: "+123456789", from: "+987654321")
+ .engagements.create(to: "+15558675310", from: "+15017122661")
expect(actual).to_not eq(nil)
end
it "can delete" do
\ No newline at end of file