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