Sha256: 43a926cf49a85ec785d083766faec3f43f546284b709f0e566ddaa09333cde31

Contents?: true

Size: 319 Bytes

Versions: 47

Compression:

Stored size: 319 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
    expect(@message).to respond_to(:media)
    expect(@message.media.instance_variable_get('@path')).to eq('someUri/Media')
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
twilio-ruby-4.13.0 spec/rest/message_spec.rb
twilio-ruby-4.12.1 spec/rest/message_spec.rb
twilio-ruby-4.11.1 spec/rest/message_spec.rb
twilio-ruby-4.11.0 spec/rest/message_spec.rb
twilio-ruby-4.10.0.edge spec/rest/message_spec.rb
twilio-ruby-4.10.0 spec/rest/message_spec.rb
twilio-ruby-4.9.1 spec/rest/message_spec.rb
twilio-ruby-4.9.1.edge spec/rest/message_spec.rb
twilio-ruby-4.9.0 spec/rest/message_spec.rb
twilio-ruby-4.9.0.edge spec/rest/message_spec.rb
twilio-ruby-4.8.0 spec/rest/message_spec.rb
twilio-ruby-4.7.0 spec/rest/message_spec.rb
twilio-ruby-4.8.3.edge spec/rest/message_spec.rb
twilio-ruby-4.8.2.edge spec/rest/message_spec.rb
twilio-ruby-4.8.1.edge spec/rest/message_spec.rb
twilio-ruby-4.8.0.edge spec/rest/message_spec.rb
twilio-ruby-4.6.2 spec/rest/message_spec.rb
twilio-ruby-4.6.1 spec/rest/message_spec.rb
twilio-ruby-4.6.0 spec/rest/message_spec.rb
twilio-ruby-4.7.0.edge spec/rest/message_spec.rb