Permalink
Browse files

fix Conference test

  • Loading branch information...
1 parent 29f3d8a commit 194da08785d5206d24db1e22a4e87aa9e8dfe526 @titanous titanous committed Nov 29, 2009
Showing with 5 additions and 5 deletions.
  1. +2 −2 test/fixtures/yml/verb_responses.yml
  2. +3 −3 test/twilio/verb_test.rb
@@ -76,8 +76,8 @@ dial_multiple_numbers:
dial_conference:
response: <?xml version="1.0" encoding="UTF-8"?><Response><Dial><Conference>MyRoom</Conference></Dial></Response>
-dial_moderated_conference:
- response: <?xml version="1.0" encoding="UTF-8"?><Response><Dial><Conference mute="false" startConferenceOnEnter="true" endConferenceOnExit="true">MyRoom</Conference></Dial></Response>
+dial_muted_conference:
+ response: <?xml version="1.0" encoding="UTF-8"?><Response><Dial><Conference mute="true">MyRoom</Conference></Dial></Response>
hangup:
response: <?xml version="1.0" encoding="UTF-8"?><Response><Hangup/></Response>
View
@@ -210,13 +210,13 @@ class VerbTest < Test::Unit::TestCase #:nodoc: all
assert_equal verb_response(:dial_conference), verb.response
end
- should "dial a moderated conference" do
+ should "dial a muted conference" do
verb = Twilio::Verb.new {
dial {
- conference 'MyRoom', :mute => :false, :startConferenceOnEnter => true, :endConferenceOnExit => true
+ conference 'MyRoom', :mute => :true
}
}
- assert_equal verb_response(:dial_moderated_conference), verb.response
+ assert_equal verb_response(:dial_muted_conference), verb.response
end
should "hangup" do

0 comments on commit 194da08

Please sign in to comment.