Sha256: 5f641474acf3da4df518a10d44e1426ade1f1e61ff2c4c2485facc8b7d812b5d

Contents?: true

Size: 1.16 KB

Versions: 7

Compression:

Stored size: 1.16 KB

Contents

require 'spec_helper'
require 'command_mapper/types'

describe CommandMapper::Types do
  it "must define a Str type" do
    expect(subject.const_defined?('Str')).to be(true)
  end

  it "must define a Num type" do
    expect(subject.const_defined?('Num')).to be(true)
  end

  it "must define a Hex type" do
    expect(subject.const_defined?('Hex')).to be(true)
  end

  it "must define a Map type" do
    expect(subject.const_defined?('Map')).to be(true)
  end

  it "must define a Enum type" do
    expect(subject.const_defined?('Enum')).to be(true)
  end

  it "must define a List type" do
    expect(subject.const_defined?('List')).to be(true)
  end

  it "must define a KeyValue type" do
    expect(subject.const_defined?('KeyValue')).to be(true)
  end

  it "must define a KeyValueList type" do
    expect(subject.const_defined?('KeyValueList')).to be(true)
  end

  it "must define a InputPath type" do
    expect(subject.const_defined?('InputPath')).to be(true)
  end

  it "must define a InputFile type" do
    expect(subject.const_defined?('InputFile')).to be(true)
  end

  it "must define a InputDir type" do
    expect(subject.const_defined?('InputDir')).to be(true)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
command_mapper-0.3.2 spec/types_spec.rb
command_mapper-0.3.1 spec/types_spec.rb
command_mapper-0.3.0 spec/types_spec.rb
command_mapper-0.2.1 spec/types_spec.rb
command_mapper-0.2.0 spec/types_spec.rb
command_mapper-0.1.2 spec/types_spec.rb
command_mapper-0.1.1 spec/types_spec.rb