Sha256: 2102493faa2265496d04940f96dae88855621a317125edb6610ed56ae3959c9d
Contents?: true
Size: 334 Bytes
Versions: 8
Compression:
Stored size: 334 Bytes
Contents
require 'spec_helper' module Adhearsion::Asterisk describe HasAgiContext do let(:offer) do Punchblock::Event::Offer.new :headers => {:x_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
8 entries across 8 versions & 1 rubygems