aboutsummaryrefslogtreecommitdiff
path: root/test/unit/config_object_test.rb
blob: b50318afcbfed4e55eb6814fca77fac0f6c0296e (plain)
1
2
3
4
5
6
7
8
9
10
11
require File.expand_path('../test_helper', __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