spec/integration/preview/acc_security/service/verification_spec.rb in twilio-ruby-5.7.2 vs spec/integration/preview/acc_security/service/verification_spec.rb in twilio-ruby-5.8.0

- old
+ new

@@ -9,19 +9,19 @@ describe 'Verification' do it "can create" do @holodeck.mock(Twilio::Response.new(500, '')) expect { - @client.preview.acc_security.services('VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \ + @client.preview.acc_security.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \ .verifications.create(to: 'to', channel: 'channel') }.to raise_exception(Twilio::REST::TwilioError) values = {'To' => 'to', 'Channel' => 'channel', } expect( @holodeck.has_request?(Holodeck::Request.new( method: 'post', - url: 'https://preview.twilio.com/Verification/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Verifications', + url: 'https://preview.twilio.com/Verification/Services/VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Verifications', data: values, ))).to eq(true) end it "receives create_verification responses" do @@ -40,10 +40,10 @@ "date_updated": "2015-07-30T20:00:00Z" } ] )) - actual = @client.preview.acc_security.services('VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \ + actual = @client.preview.acc_security.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \ .verifications.create(to: 'to', channel: 'channel') expect(actual).to_not eq(nil) end end \ No newline at end of file