test/unit/mock_test.rb in mocha-0.9.1 vs test/unit/mock_test.rb in mocha-0.9.2

- old
+ new

@@ -285,6 +285,11 @@ rescue NoMethodError => e assert_match(/which responds like mocha_inspect/, e.message) end end + def test_should_handle_respond_to_with_private_methods_param_without_error + mock = Mock.new + assert_nothing_raised{ mock.respond_to?(:object_id, false) } + end + end \ No newline at end of file