Sha256: c7df113382a6da7bacc0c562a95305c4da0b95bbf5ee71d6fbfb785cbd4f7fd1

Contents?: true

Size: 323 Bytes

Versions: 2

Compression:

Stored size: 323 Bytes

Contents

require 'spec_helper'

describe Restcomm::REST::Message do
  before do
    @message = Restcomm::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

2 entries across 2 versions & 1 rubygems

Version Path
restcomm-ruby-1.2.1 spec/rest/message_spec.rb
restcomm-ruby-1.2.0 spec/rest/message_spec.rb