Sha256: 53457834bb79b6a6bc00b92fe0708da289a9bb2d2538416bf420293d0c97b9ca

Contents?: true

Size: 409 Bytes

Versions: 31

Compression:

Stored size: 409 Bytes

Contents

require 'test/unit'
require 'veewee'

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

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
veewee-0.5.0.alpha4 test/definition_test.rb
veewee-0.5.0.alpha3 test/definition_test.rb
veewee-0.5.0.alpha2 test/definition_test.rb
veewee-0.5.0.alpha1 test/definition_test.rb
veewee-0.4.5.1 test/definition_test.rb
veewee-0.4.5 test/definition_test.rb
veewee-0.4.5.pre1 test/definition_test.rb
veewee-0.4.4 test/definition_test.rb
veewee-0.4.3 test/definition_test.rb
veewee-0.4.2 test/definition_test.rb
veewee-0.4.1 test/definition_test.rb
veewee-0.4.0 test/definition_test.rb
veewee-0.3.12 test/definition_test.rb
veewee-0.3.11 test/definition_test.rb
veewee-0.3.10 test/definition_test.rb
veewee-0.3.9 test/definition_test.rb
veewee-atlassian-0.3.11 test/definition_test.rb
veewee-0.3.7 test/definition_test.rb
veewee-0.3.6 test/definition_test.rb
veewee-0.3.5 test/definition_test.rb