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