Sha256: 870dc417ef43d49439f37a686babb86bb2de3c507922fad38dabcb1e5a46da84
Contents?: true
Size: 514 Bytes
Versions: 1
Compression:
Stored size: 514 Bytes
Contents
require 'spec_helper' describe Twilio::REST::Message do before do @message = Twilio::REST::Message.new('someUri', 'someClient') end it 'sets up a media resources object' do @message.should respond_to(:media) @message.media.instance_variable_get('@path').should == 'someUri/Media' end it 'does not use the old endpoint' do client = Twilio::REST::Client.new('someId', 'sometoken') client.account.sms.messages.instance_variable_get('@path').include?('/SMS').should be_false end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
twilio-ruby-3.11.1 | spec/rest/message_spec.rb |