Sha256: 71c906ef89aed1198044b71dfce2a75dd4ec07e30c7063972d809a95d06e6fdc

Contents?: true

Size: 362 Bytes

Versions: 2

Compression:

Stored size: 362 Bytes

Contents

require 'spec_helper'

describe Restcomm::REST::Conference do
  it 'should set up a participants resources object' do
    conference = Restcomm::REST::Conference.new('someUri', 'someClient')
    expect(conference).to respond_to(:participants)
    expect(conference.participants.instance_variable_get('@path')).to eq(
      'someUri/Participants'
    )
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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