test/tc_hash.rb in valdemaximus-xx-0.6.4 vs test/tc_hash.rb in valdemaximus-xx-0.7.0

- old
+ new

@@ -3,13 +3,13 @@ require "extensions/array" require "extensions/hash" require "extensions/string" class TestToAndFromUrl < Test::Unit::TestCase - # def test_hash - # params = {:hello => 'joe', :fun => {:stuff => {:basketball => :sports, :football => 'sports'}, :trip => 'Florida'}} - # pp(params.to_url_params) - # end + def test_hash + params = {:hello => 'joe', :fun => {:stuff => {:basketball => :sports, :football => 'sports'}, :trip => 'Florida'}} + pp(params.to_url_params) + end # # def test_simple_hash # params = {:hello => 'joe', :fun => 'trips', :trip => 'Florida'} # assert_equal("trip=Florida&hello=joe&fun=trips", CGI::unescape(params.to_url_params)) # end \ No newline at end of file