Sha256: ace4e112091041192414dbe0d517cc6dad4799687cb98c07c4f4f2e81f6fb238

Contents?: true

Size: 419 Bytes

Versions: 4

Compression:

Stored size: 419 Bytes

Contents

require 'test/unit'
require 'lib/veewee'

class TestVeeweeDefinition < Test::Unit::TestCase
  def test_environment_load_definition
    # Set the definition dir to our template dir
    ve=Veewee::Environment.new({:definition_path => [ File.expand_path(File.join(File.dirname(__FILE__),"..", "templates")) ] })  
    vd=ve.get_definition("ubuntu-10.10-server-amd64")
    assert_equal(vd.os_type_id,"Ubuntu_64")
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
veewee-0.3.0.alpha4 test/definition_test.rb
veewee-0.3.0.alpha3 test/definition_test.rb
veewee-0.3.0.alpha2 test/definition_test.rb
veewee-0.3.0.alpha1 test/definition_test.rb