Sha256: d06dbaa6670e22abde5df0daae0125b81f431730d671214a53e9ff94091be56f
Contents?: true
Size: 396 Bytes
Versions: 13
Compression:
Stored size: 396 Bytes
Contents
require File.expand_path('../../test_helper', __FILE__) require 'mocha/inspect' class HashInspectTest < Mocha::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
13 entries across 10 versions & 4 rubygems