spec/rubytter_spec.rb in rubytter-1.0.1 vs spec/rubytter_spec.rb in rubytter-1.0.2
- old
+ new
@@ -217,9 +217,10 @@
:e => [{:a => 1, :b => 2}, {:c => '"<>&'}]
}
struct = @rubytter.structize(hash)
struct.to_hash.should == {
:a => "a",
+ "b" => 1,
:b => 1,
:c => {:b => 2, :a => 1},
:e => [{:b => 2, :a => 1}, {:c => "\"<>&"}],
:d => {:b => 1, :a => {:b => 2, :a => 1}}
}