Sha256: 54c2b53c66deebb43f0d297ce6f0e3f6d8706f76d00ccd05b41a8a42afd7d176

Contents?: true

Size: 249 Bytes

Versions: 2

Compression:

Stored size: 249 Bytes

Contents

require 'spec_helper'

describe Yun::InstanceType do

  it 'should parse the human readable name to ec2 instance type' do
    Yun::InstanceType.parse("micro").should == "t1.micro"
    Yun::InstanceType.parse("small").should == "m1.small"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yun-0.0.6 spec/yun/model/instance_type_spec.rb
yun-0.0.5 spec/yun/model/instance_type_spec.rb