Sha256: 3e2b73b04d4f4efd5d8b8781bae8063fba1d6f3a01e2d4ce13882571a045713f
Contents?: true
Size: 464 Bytes
Versions: 10
Compression:
Stored size: 464 Bytes
Contents
input_hash = { :name => 'test-server', :flavor => '123' } output_hash = { 'name' => 'test-server', 'flavor' => '123' } Shindo.tests('Fog::StringifyKeys', 'core') do tests('keys') do tests('stringifies symbols') do returns(output_hash) { Fog::StringifyKeys.stringify(input_hash) } end tests('skips strings') do returns(output_hash) { Fog::StringifyKeys.stringify(output_hash) } end end end
Version data entries
10 entries across 10 versions & 1 rubygems