Sha256: edef60ff14568f3336803511a724ca62b0bbee5f5bbc35859d317424f5f5c728
Contents?: true
Size: 430 Bytes
Versions: 10
Compression:
Stored size: 430 Bytes
Contents
require 'minitest/autorun' require 'confuse' class TestNamespace < MiniTest::Unit::TestCase def setup @namespace = Confuse::Namespace.new do define :foo do default 1 end end end def test_merge! namespace = Confuse::Namespace.new do define :bar do default 1 end end @namespace.merge!(namespace) assert @namespace[:foo] assert @namespace[:bar] end end
Version data entries
10 entries across 10 versions & 1 rubygems