spec/integration/preview/acc_security/service/verification_spec.rb in twilio-ruby-5.6.3 vs spec/integration/preview/acc_security/service/verification_spec.rb in twilio-ruby-5.6.4

- old
+ new

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