Sha256: d1ae7f9e6c01e677639932505b7583ea7fe30bcc06107aac8d9ed9f5f64884c5
Contents?: true
Size: 294 Bytes
Versions: 2
Compression:
Stored size: 294 Bytes
Contents
require 'test_helper' class TestUtility < Test::Unit::TestCase def test_decode_response require "json" object = {'key1' => 'value1', 'key2' => 'value2', 'integer_key' => 5} assert_equal object, Cloudsponge::Utility.decode_response_body(JSON.generate(object), 'json') end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cloudsponge-0.10.0 | test/test_utility.rb |
cloudsponge-0.9.13 | test/test_utility.rb |