spec/punchblock/command/dial_spec.rb in punchblock-0.4.3 vs spec/punchblock/command/dial_spec.rb in punchblock-0.5.0

- old
+ new

@@ -35,18 +35,11 @@ Ref.new.tap do |ref| ref.id = call_id end end - let :iq do - Blather::Stanza::Iq.new(:result, 'blah').tap do |iq| - iq.from = "call.rayo.net" - iq << ref - end - end - it "should set the call ID from the ref" do - subject.response = iq + subject.response = ref subject.call_id.should == call_id end end end end