Sha256: 517c8a3e2ac0c6f9c627a92a7be62f7a6dab103f75c275038e3bc4432e512a16
Contents?: true
Size: 545 Bytes
Versions: 5
Compression:
Stored size: 545 Bytes
Contents
require File.dirname(__FILE__) + "/spec_helper" require "hudson/core_ext/hash" describe Hash do subject do { :simple => "simple", :under_score => "under_score", :"hyp-hen" => "hyphen", "str_under_score" => "str_under_score", "str-hyp-hen" => "str-hyp-hen" } end it do subject.with_clean_keys.should == { :simple => "simple", :under_score => "under_score", :hyp_hen => "hyphen", :str_under_score => "str_under_score", :str_hyp_hen => "str-hyp-hen" } end end
Version data entries
5 entries across 5 versions & 1 rubygems