Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (13 sloc) 0.568 kb
require 'spec_helper'
describe Twilio::REST::Call do
it 'should set up a recordings resources object' do
call = Twilio::REST::Call.new('someUri', 'someClient')
call.respond_to?(:recordings).should == true
call.recordings.instance_variable_get('@uri').should == 'someUri/Recordings'
end
it 'should set up a notifications resources object' do
call = Twilio::REST::Call.new('someUri', 'someClient')
call.respond_to?(:notifications).should == true
call.notifications.instance_variable_get('@uri').should == 'someUri/Notifications'
end
end
Jump to Line
Something went wrong with that request. Please try again.