Sha256: 2be92944e6c512f95eb1f305107000551af584ff4e0d19a02dc97131c5cc0ca0

Contents?: true

Size: 310 Bytes

Versions: 4

Compression:

Stored size: 310 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
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twilio-ruby-3.11.5 spec/rest/message_spec.rb
twilio-ruby-3.11.4 spec/rest/message_spec.rb
twilio-ruby-3.11.3 spec/rest/message_spec.rb
twilio-ruby-3.11.0 spec/rest/message_spec.rb