spec/integration/studio/v1/flow/engagement/step_spec.rb in twilio-ruby-5.6.3 vs spec/integration/studio/v1/flow/engagement/step_spec.rb in twilio-ruby-5.6.4
- old
+ new
@@ -9,12 +9,12 @@
describe 'Step' do
it "can read" do
@holodeck.mock(Twilio::Response.new(500, ''))
expect {
- @client.studio.v1.flows("FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
- .engagements("FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
+ @client.studio.v1.flows('FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
+ .engagements('FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
.steps.list()
}.to raise_exception(Twilio::REST::TwilioError)
values = {}
expect(
@@ -41,24 +41,24 @@
"steps": []
}
]
))
- actual = @client.studio.v1.flows("FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
- .engagements("FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
+ actual = @client.studio.v1.flows('FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
+ .engagements('FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
.steps.list()
expect(actual).to_not eq(nil)
end
it "can fetch" do
@holodeck.mock(Twilio::Response.new(500, ''))
expect {
- @client.studio.v1.flows("FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
- .engagements("FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
- .steps("FTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").fetch()
+ @client.studio.v1.flows('FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
+ .engagements('FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
+ .steps('FTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
}.to raise_exception(Twilio::REST::TwilioError)
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
@@ -85,12 +85,12 @@
"url": "https://studio.twilio.com/v1/Flows/FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Engagements/FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Steps/FTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
]
))
- actual = @client.studio.v1.flows("FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
- .engagements("FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
- .steps("FTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").fetch()
+ actual = @client.studio.v1.flows('FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
+ .engagements('FNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
+ .steps('FTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
expect(actual).to_not eq(nil)
end
end
\ No newline at end of file