Sha256: b925a418502fd98e982f873cd430b89624bb1322aab88d63043cd81eb2dae38a

Contents?: true

Size: 354 Bytes

Versions: 7

Compression:

Stored size: 354 Bytes

Contents

require 'spec_helper'

module Adhearsion::Asterisk
  describe 'plugin loading' do
    before(:all) { Adhearsion::Plugin.init_plugins }

    let(:mock_call) { stub_everything 'Call' }

    it 'should extend Adhearsion::CallController with Asterisk methods' do
      Adhearsion::CallController.new(mock_call).should respond_to :play_time
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
adhearsion-asterisk-1.3.1 spec/adhearsion/asterisk/plugin_spec.rb
adhearsion-asterisk-1.3.0 spec/adhearsion/asterisk/plugin_spec.rb
adhearsion-asterisk-1.2.1 spec/adhearsion/asterisk/plugin_spec.rb
adhearsion-asterisk-1.2.0 spec/adhearsion/asterisk/plugin_spec.rb
adhearsion-asterisk-1.1.1 spec/adhearsion/asterisk/plugin_spec.rb
adhearsion-asterisk-1.1.0 spec/adhearsion/asterisk/plugin_spec.rb
adhearsion-asterisk-0.3.0 spec/adhearsion/asterisk/plugin_spec.rb