spec/integration/notify/v1/service/user/segment_memberships_spec.rb in twilio-ruby-5.4.2 vs spec/integration/notify/v1/service/user/segment_memberships_spec.rb in twilio-ruby-5.4.3
- old
+ new
@@ -14,12 +14,10 @@
@client.notify.v1.services("ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.users("NUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.segment_memberships.create(segment: "segment")
}.to raise_exception(Twilio::REST::TwilioError)
- values = {
- 'Segment' => "segment",
- }
+ values = {'Segment' => "segment",}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'post',
url: 'https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/NUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/SegmentMemberships',
data: values,
\ No newline at end of file