Sha256: f5dce56765311bec231caa4ca56f41d526466ae89a2c52234ea02ff55ac861c0
Contents?: true
Size: 393 Bytes
Versions: 45
Compression:
Stored size: 393 Bytes
Contents
require File.join(File.dirname(__FILE__), "..", "test_helper") 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
45 entries across 45 versions & 9 rubygems