spec/rest/account_spec.rb in twilio-ruby-3.12.3 vs spec/rest/account_spec.rb in twilio-ruby-3.13.0
- old
+ new
@@ -6,53 +6,69 @@
@account = Twilio::REST::Account.new('someUri', 'someClient')
end
it 'sets up incoming phone numbers resources object' do
expect(@account).to respond_to(:incoming_phone_numbers)
- expect(@account.incoming_phone_numbers.instance_variable_get('@path')).to eq('someUri/IncomingPhoneNumbers')
+ expect(@account.incoming_phone_numbers.instance_variable_get('@path')).to(
+ eq('someUri/IncomingPhoneNumbers')
+ )
end
it 'sets up an available phone numbers resources object' do
expect(@account).to respond_to(:available_phone_numbers)
- expect(@account.available_phone_numbers.instance_variable_get('@path')).to eq('someUri/AvailablePhoneNumbers')
+ expect(@account.available_phone_numbers.instance_variable_get('@path')).to(
+ eq('someUri/AvailablePhoneNumbers')
+ )
end
it 'sets up an outgoing caller ids resources object' do
expect(@account).to respond_to(:outgoing_caller_ids)
- expect(@account.outgoing_caller_ids.instance_variable_get('@path')).to eq('someUri/OutgoingCallerIds')
+ expect(@account.outgoing_caller_ids.instance_variable_get('@path')).to eq(
+ 'someUri/OutgoingCallerIds'
+ )
end
it 'sets up a calls resources object' do
expect(@account).to respond_to(:calls)
expect(@account.calls.instance_variable_get('@path')).to eq('someUri/Calls')
end
it 'sets up a conferences resources object' do
expect(@account).to respond_to(:conferences)
- expect(@account.conferences.instance_variable_get('@path')).to eq('someUri/Conferences')
+ expect(@account.conferences.instance_variable_get('@path')).to eq(
+ 'someUri/Conferences'
+ )
end
it 'sets up a queues resources object' do
expect(@account).to respond_to(:queues)
- expect(@account.queues.instance_variable_get('@path')).to eq('someUri/Queues')
+ expect(@account.queues.instance_variable_get('@path')).to eq(
+ 'someUri/Queues'
+ )
end
it 'sets up a sms resource object' do
expect(@account).to respond_to(:sms)
expect(@account.sms.instance_variable_get('@path')).to eq('someUri/SMS')
end
it 'sets up a recordings resources object' do
expect(@account).to respond_to(:recordings)
- expect(@account.recordings.instance_variable_get('@path')).to eq('someUri/Recordings')
+ expect(@account.recordings.instance_variable_get('@path')).to eq(
+ 'someUri/Recordings'
+ )
end
it 'sets up a transcriptions resources object' do
expect(@account).to respond_to(:transcriptions)
- expect(@account.transcriptions.instance_variable_get('@path')).to eq('someUri/Transcriptions')
+ expect(@account.transcriptions.instance_variable_get('@path')).to eq(
+ 'someUri/Transcriptions'
+ )
end
it 'sets up a notifications resources object' do
expect(@account).to respond_to(:notifications)
- expect(@account.notifications.instance_variable_get('@path')).to eq('someUri/Notifications')
+ expect(@account.notifications.instance_variable_get('@path')).to eq(
+ 'someUri/Notifications'
+ )
end
end