test/functional/configatron.rb in configatron-4.0.3 vs test/functional/configatron.rb in configatron-4.1.0

- old
+ new

@@ -78,6 +78,16 @@ it 'does not cause an exception' do puts @kernel puts @kernel.hi end end + + describe 'private methods on kernel' do + it 'can be accessed through method accessors' do + @kernel.catch = 'hi' + @kernel.foo.catch = 'hi' + + assert_equal('hi', @kernel.catch) + assert_equal('hi', @kernel.foo.catch) + end + end end