Sha256: 013cd02a6018635b3fb1c32e66e9209fd9c161a68c3792f8fb6f403876224486
Contents?: true
Size: 546 Bytes
Versions: 10
Compression:
Stored size: 546 Bytes
Contents
require File.dirname(__FILE__) + "/spec_helper" require "jenkins/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
10 entries across 10 versions & 3 rubygems