aboutsummaryrefslogtreecommitdiff
path: root/test/unit/config_object_test.rb
blob: 79cf5967539d1138d9cf56e34968cc5458da8809 (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 = provider.domain
    vpn1 = manager.nodes['vpn1']
    assert_equal "vpn1.#{domain}", vpn1['domain.full']
  end

end