Permalink
Browse files

Queues can change max size, have members who can be dequed. Also chan…

…ged variable name in conference_spec.rb to "conference" instead of "call." queue_spec.rb also passing
  • Loading branch information...
1 parent 8580bd6 commit ce7d36c743eec1cd77e975ae235d09a969610faf Oscar Sanchez committed Aug 6, 2012
Showing with 13 additions and 4 deletions.
  1. +4 −4 spec/rest/conference_spec.rb
  2. +9 −0 spec/rest/queue_spec.rb
@@ -2,8 +2,8 @@
describe Twilio::REST::Conference do
it 'should set up a participants resources object' do
- call = Twilio::REST::Conference.new('someUri', 'someClient')
- call.respond_to?(:participants).should == true
- call.participants.instance_variable_get('@uri').should == 'someUri/Participants'
+ conference = Twilio::REST::Conference.new('someUri', 'someClient')
+ conference.respond_to?(:participants).should == true
+ conference.participants.instance_variable_get('@uri').should == 'someUri/Participants'
end
-end
+end
View
@@ -0,0 +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'
+ end
+end

0 comments on commit ce7d36c

Please sign in to comment.