Sha256: 2e37fc30024b5bb736072d07173046e6af36ad207c80702beff6f1bb08df2004
Contents?: true
Size: 374 Bytes
Versions: 1
Compression:
Stored size: 374 Bytes
Contents
require 'setup_tests' class HashTest < Test::Unit::TestCase context 'the Hash class' do should 'recursivley strip the string values inside of a Hash via #strip_string_values_in_hash' do assert_equal({:someval=>'strip this', :somearray=>['this too!']}, {:someval=>' strip this ', :somearray=>[' this too!']}.strip_string_values_in_hash) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
boris-1.0.0.beta.1 | ./test/helper_tests/test_hash.rb |