Sha256: bc900422db3fad5284de5971cd3cc11c018a9eae605eab4248b28370a9225a7d

Contents?: true

Size: 293 Bytes

Versions: 1

Compression:

Stored size: 293 Bytes

Contents

require File.expand_path('../test_helper', __FILE__)

describe Formation::Type do
  
  describe '#create' do
    
    it 'should raise an exception if the type is unsupported' do
      lambda {
        Formation::Type.create(nil, :foo)
      }.must_raise RuntimeError
    end
    
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
formation-0.0.1 test/type_spec.rb