search for: test_nev

Displaying 1 result from an estimated 1 matches for "test_nev".

Did you mean: test_env
2007 Jul 04
0
Fwd: [ mocha-Bugs-11885 ] never doesn''t work with stub_everything
...ything Initial Comment: running the following results in a succesful test with mocha 0.5.1 - it should fail because x is called on o. require ''rubygems'' require ''test/unit'' require ''mocha'' class MyTest < Test::Unit::TestCase def test_never o = stub_everything o.expects(:x).never o.x end end ---------------------------------------------------------------------- >Comment By: James Mead (jamesmead) Date: 2007-06-30 13:33 Message: You are quite right. Thanks for the bug report. In fact there are a few issues re...