spec/rest/call_spec.rb in twilio-ruby-3.11.5 vs spec/rest/call_spec.rb in twilio-ruby-3.11.6
- old
+ new
@@ -5,14 +5,14 @@
before do
@call = Twilio::REST::Call.new('someUri', 'someClient')
end
it 'sets up a recordings resources object' do
- @call.should respond_to(:recordings)
- @call.recordings.instance_variable_get('@path').should == 'someUri/Recordings'
+ 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
- @call.should respond_to(:notifications)
- @call.notifications.instance_variable_get('@path').should == 'someUri/Notifications'
+ expect(@call).to respond_to(:notifications)
+ expect(@call.notifications.instance_variable_get('@path')).to eq('someUri/Notifications')
end
end