Sha256: ca8efabbff2f0d63cab4a389324ae82829c9b0ec7eab4de5b2e32eebb7f207e9
Contents?: true
Size: 406 Bytes
Versions: 41
Compression:
Stored size: 406 Bytes
Contents
require File.expand_path('../../test_helper', __FILE__) require 'mocha/inspect' class HashInspectTest < Test::Unit::TestCase def test_should_keep_spacing_between_key_value hash = {:a => true} assert_equal '{:a => true}', hash.mocha_inspect end def test_should_use_mocha_inspect_on_each_item hash = {:a => 'mocha'} assert_equal "{:a => 'mocha'}", hash.mocha_inspect end end
Version data entries
41 entries across 36 versions & 6 rubygems