Sha256: 56203b1d03405f650fd476807b8085b66fddc4f56aaeba1981054a47fd9df243
Contents?: true
Size: 376 Bytes
Versions: 4
Compression:
Stored size: 376 Bytes
Contents
require File.expand_path('../../test_helper', __FILE__) require 'mocha/inspect' class ArrayInspectTest < Mocha::TestCase def test_should_use_inspect array = [1, 2] assert_equal array.inspect, array.mocha_inspect end def test_should_use_mocha_inspect_on_each_item array = [1, 2, "chris"] assert_equal %{[1, 2, "chris"]}, array.mocha_inspect end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mocha-1.6.0 | test/unit/array_inspect_test.rb |
mocha-1.5.0 | test/unit/array_inspect_test.rb |
mocha-1.4.0 | test/unit/array_inspect_test.rb |
mocha-1.3.0 | test/unit/array_inspect_test.rb |