spec/rest/conference_spec.rb in twilio-ruby-3.9.0 vs spec/rest/conference_spec.rb in twilio-ruby-3.10.0
- old
+ new
@@ -1,9 +1,9 @@
require 'spec_helper'
describe Twilio::REST::Conference do
it 'should set up a participants resources object' do
conference = Twilio::REST::Conference.new('someUri', 'someClient')
- conference.respond_to?(:participants).should == true
- conference.participants.instance_variable_get('@uri').should == 'someUri/Participants'
+ conference.should respond_to(:participants)
+ conference.participants.instance_variable_get('@path').should == 'someUri/Participants'
end
end