From 5b6e0d80fdaa3e4d4746d3502cf654deb91d91e1 Mon Sep 17 00:00:00 2001 From: sburman Date: Tue, 13 Jan 2026 18:44:49 +0530 Subject: [PATCH] Update voice_response_spec.rb --- spec/twiml/voice_response_spec.rb | 34 ------------------------------- 1 file changed, 34 deletions(-) diff --git a/spec/twiml/voice_response_spec.rb b/spec/twiml/voice_response_spec.rb index 27a9e1084..dd1a06cc4 100644 --- a/spec/twiml/voice_response_spec.rb +++ b/spec/twiml/voice_response_spec.rb @@ -616,40 +616,6 @@ expect(doc).to be_equivalent_to(expected_doc).respecting_element_order end - it 'should allow Dial.sip' do - expected_doc = parse <<-XML - - - foo@example.com - - - XML - dial = Twilio::TwiML::Dial.new - dial.sip 'foo@example.com' - - response = Twilio::TwiML::VoiceResponse.new - response.append(dial) - doc = parse(response) - expect(doc).to be_equivalent_to(expected_doc).respecting_element_order - end - - it 'should allow Dial.sip with username, password' do - expected_doc = parse <<-XML - - - foo@example.com - - - XML - dial = Twilio::TwiML::Dial.new - dial.sip('foo@example.com', username: 'foo', password: 'bar') - - response = Twilio::TwiML::VoiceResponse.new - response.append(dial) - doc = parse(response) - expect(doc).to be_equivalent_to(expected_doc).respecting_element_order - end - it 'should allow Dial.number' do expected_doc = parse <<-XML