Sha256: f136593791171fb411684a13b0dea53442ffcabad711b0c93ae820ad25210936

Contents?: true

Size: 331 Bytes

Versions: 10

Compression:

Stored size: 331 Bytes

Contents

require 'spec_helper'

describe Twilio::REST::TaskRouter::Reservations do
  it 'creates a reservation object' do
    task = Twilio::REST::TaskRouter::Task.new('someUri', 'someClient')
    expect(task).to respond_to(:reservations)
    expect(task.reservations.instance_variable_get('@path')).to eq('someUri/Reservations')
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
twilio-ruby-4.3.0 spec/rest/task_router/reservation_spec.rb
twilio-ruby-4.2.1 spec/rest/task_router/reservation_spec.rb
twilio-ruby-4.2.0 spec/rest/task_router/reservation_spec.rb
twilio-ruby-4.1.0 spec/rest/task_router/reservation_spec.rb
twilio-ruby-4.0.1 spec/rest/task_router/reservation_spec.rb
twilio-ruby-4.0.0 spec/rest/task_router/reservation_spec.rb
twilio-ruby-3.16.1 spec/rest/task_router/reservation_spec.rb
twilio-ruby-3.16.0 spec/rest/task_router/reservation_spec.rb
twilio-ruby-3.15.2 spec/rest/task_router/reservation_spec.rb
twilio-ruby-3.15.1 spec/rest/task_router/reservation_spec.rb