Sha256: a5a239da7c9966f6e834397f6bc4f8d1d6ff84d7f220a42945c7648e4f2e7e16
Contents?: true
Size: 332 Bytes
Versions: 1
Compression:
Stored size: 332 Bytes
Contents
require 'spec_helper' module Adhearsion::Asterisk describe HasAgiContext do let(:offer) do Punchblock::Event::Offer.new :headers => {:agi_context => 'foobar'} end subject { Adhearsion::Call.new offer} it "should return the AGI context" do subject.agi_context.should be == 'foobar' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
adhearsion-asterisk-1.1.0 | spec/has_agi_context.rb |