Sha256: 3a23c9f2fe5b989902b083006d03b7f7277b4de7a97bd093f47c01c6b22af691

Contents?: true

Size: 522 Bytes

Versions: 1

Compression:

Stored size: 522 Bytes

Contents

require 'minitest/autorun'

require_relative File.join('..', '..', '..', 'lib', 'deltacloud', 'models', 'base_model.rb')
require_relative File.join('..', '..', '..', 'lib', 'deltacloud', 'models', 'instance_profile.rb')

describe InstanceProfile do

  before do
    @instance = InstanceProfile.new(
      'm1-small',
      :hwp_memory => '512',
      :hwp_cpu => '1'
    )
  end

  it 'advertise the overrides' do
    @instance.overrides.keys.must_include :cpu
    @instance.overrides.keys.must_include :memory
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
deltacloud-core-1.0.2 tests/drivers/models/instance_profile_test.rb