Sha256: 11c209441e1b923187c0d0ec5110eb116b7b0807c9f4f52b3392e06fc0c1d113

Contents?: true

Size: 265 Bytes

Versions: 19

Compression:

Stored size: 265 Bytes

Contents

require 'spec_helper'

describe Symbol do

  context '#to_control_type_const' do
    Then { expect(:list_item.to_control_type_const).to eq(50007) }
    Then { expect { :not_a_control_type.to_control_type_const }.to raise_error InvalidControlType }
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
uia-1.0 spec/core_ext/symbol_spec.rb
uia-0.8 spec/core_ext/symbol_spec.rb
uia-0.7 spec/core_ext/symbol_spec.rb
uia-0.7.alpha.1 spec/core_ext/symbol_spec.rb
uia-0.6 spec/core_ext/symbol_spec.rb
uia-0.5 spec/core_ext/symbol_spec.rb
uia-0.4.4 spec/core_ext/symbol_spec.rb
uia-0.4.3 spec/core_ext/symbol_spec.rb
uia-0.4.2 spec/core_ext/symbol_spec.rb
uia-0.4.1 spec/core_ext/symbol_spec.rb
uia-0.4 spec/core_ext/symbol_spec.rb
uia-0.3.3 spec/core_ext/symbol_spec.rb
uia-0.3.2 spec/core_ext/symbol_spec.rb
uia-0.3.1 spec/core_ext/symbol_spec.rb
uia-0.3 spec/core_ext/symbol_spec.rb
uia-0.2.1 spec/core_ext/symbol_spec.rb
uia-0.2 spec/core_ext/symbol_spec.rb
uia-0.1.3.1 spec/core_ext/symbol_spec.rb
uia-0.1.3 spec/core_ext/symbol_spec.rb