Sha256: f7c8f7145baba3f1b7c81f3a9822fd2dcca9d95c1a20c38c4fcf11c8912f6950

Contents?: true

Size: 549 Bytes

Versions: 42

Compression:

Stored size: 549 Bytes

Contents

require 'spec_helper'

describe Twilio::REST::Call do

  before do
    @call = Twilio::REST::Call.new('someUri', 'someClient')
  end

  it 'sets up a recordings resources object' do
    expect(@call).to respond_to(:recordings)
    expect(@call.recordings.instance_variable_get('@path')).to eq(
      'someUri/Recordings'
    )
  end

  it 'sets up a notifications resources object' do
    expect(@call).to respond_to(:notifications)
    expect(@call.notifications.instance_variable_get('@path')).to eq(
      'someUri/Notifications'
    )
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

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