summaryrefslogtreecommitdiff
path: root/test/unit/config_object_test.rb
blob: b981f3b44d235f65a1bb0d71a73c7cfd225829e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
require File.expand_path('test_helper', File.dirname(__FILE__))

class ConfigObjectTest < MiniTest::Unit::TestCase

  def test_bracket_lookup
    domain = manager.provider.domain
    vpn1 = manager.nodes['vpn1']
    assert_equal "vpn1.#{domain}", vpn1['domain.full']
  end

end