Sha256: 29060a2a0200c23fcd56d8bc6bd7a70f7caea61d48a3f8ae93635b6be48eaca6
Contents?: true
Size: 386 Bytes
Versions: 41
Compression:
Stored size: 386 Bytes
Contents
require File.expand_path('../../test_helper', __FILE__) require 'mocha/inspect' class ArrayInspectTest < Test::Unit::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
41 entries across 36 versions & 6 rubygems