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

Version Path
challah-1.0.0.beta vendor/bundle/gems/mocha-0.10.5/test/unit/array_inspect_test.rb
challah-0.9.1.beta.3 vendor/bundle/gems/mocha-0.10.5/test/unit/array_inspect_test.rb
devise_sociable-0.1.0 vendor/bundle/gems/mocha-0.10.5/test/unit/array_inspect_test.rb
challah-0.9.1.beta vendor/bundle/gems/mocha-0.10.5/test/unit/array_inspect_test.rb
challah-0.9.0 vendor/bundle/gems/mocha-0.10.5/test/unit/array_inspect_test.rb
challah-0.6.2 vendor/bundle/gems/mocha-0.10.5/test/unit/array_inspect_test.rb
challah-0.6.1 vendor/bundle/gems/mocha-0.10.3/test/unit/array_inspect_test.rb
challah-0.6.1 vendor/bundle/gems/mocha-0.10.5/test/unit/array_inspect_test.rb
challah-0.6.0 vendor/bundle/gems/mocha-0.10.3/test/unit/array_inspect_test.rb
challah-0.6.0 vendor/bundle/gems/mocha-0.10.5/test/unit/array_inspect_test.rb
challah-0.5.4 vendor/bundle/gems/mocha-0.10.5/test/unit/array_inspect_test.rb
challah-0.5.4 vendor/bundle/gems/mocha-0.10.3/test/unit/array_inspect_test.rb
challah-0.5.3 vendor/bundle/gems/mocha-0.10.5/test/unit/array_inspect_test.rb
challah-0.5.3 vendor/bundle/gems/mocha-0.10.3/test/unit/array_inspect_test.rb
challah-0.5.2 vendor/bundle/gems/mocha-0.10.5/test/unit/array_inspect_test.rb
challah-0.5.2 vendor/bundle/gems/mocha-0.10.3/test/unit/array_inspect_test.rb
challah-0.5.1 vendor/bundle/gems/mocha-0.10.5/test/unit/array_inspect_test.rb
mocha-0.10.5 test/unit/array_inspect_test.rb
challah-0.5.0 vendor/bundle/gems/mocha-0.10.3/test/unit/array_inspect_test.rb
mocha-0.10.4 test/unit/array_inspect_test.rb