Sha256: 392dafd3ad80adb9e765c17e1702961914b68120af852e74095aab2cb7804ce1

Contents?: true

Size: 432 Bytes

Versions: 23

Compression:

Stored size: 432 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

module Adhearsion
  class CallController
    module MenuDSL
      describe MatchCalculator do
        describe ".build_with_pattern" do
          it "should return an appropriate subclass instance based on the pattern's class" do
            MatchCalculator.build_with_pattern(1..2, :main).should be_an_instance_of RangeMatchCalculator
          end
        end
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
adhearsion-2.5.4 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.5.3 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.5.2 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.5.0 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.4.0 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.4.0.beta3 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.4.0.beta2 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.4.0.beta1 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.3.5 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.3.4 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.3.3 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.3.2 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.3.1 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.3.0 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.2.1 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.2.0 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.1.3 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.1.2 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.1.1 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.1.0 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb