Sha256: 003ab4703595303fbd0a2223fbdac1ff7af15a5dc1044237638c7a6bb066a9b4

Contents?: true

Size: 436 Bytes

Versions: 5

Compression:

Stored size: 436 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
            expect(MatchCalculator.build_with_pattern(1..2, :main)).to be_an_instance_of RangeMatchCalculator
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
adhearsion-2.6.4 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.6.3 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.6.2 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.6.1 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb
adhearsion-2.6.0 spec/adhearsion/call_controller/menu_dsl/match_calculator_spec.rb