Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Oscar Sanchez
committed
Aug 6, 2012
1 parent
8580bd6
commit ce7d36c
Showing
2 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |