We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 984fb27 commit eb25824Copy full SHA for eb25824
spec/bitbucket_rest_api/core_ext/hash_spec.rb
@@ -25,6 +25,9 @@
25
26
it 'should convert nested keys to symbols' do
27
expect(@nested_hash.symbolize_keys!).to eq @symbols
28
+
29
+ @nested_hash_with_array = { 'a' => { 'b' => [{'c' => 1}] } }
30
+ expect(@nested_hash_with_array.symbolize_keys!).to eq({:a=>{:b=>[{:c=>1}]}})
31
end
32
33
0 commit comments