Sha256: 32d8914015dc3050957c42a419b53191c542b1d8c7644e1947fb82c9ffacba53
Contents?: true
Size: 593 Bytes
Versions: 36
Compression:
Stored size: 593 Bytes
Contents
# encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details. require File.expand_path(File.join(File.dirname(__FILE__),'..','..','..','test_helper')) module NewRelic::Agent::Configuration class ManualSourceTest < Minitest::Test def test_prepopulates_nested_keys source = ManualSource.new({ :outer => { :inner => "stuff" } }) expected = { :outer => { :inner => "stuff" }, :'outer.inner' => "stuff" } assert_equal(expected, source) end end end
Version data entries
36 entries across 36 versions & 2 rubygems