Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

James Mead's latest activity

Monday, October 26 2009
56 Stubbed method not being returned to its original state at the end of a test was updated in mocha
  • James Mead
    • State changed from new to open
    by James Mead at 3:56 PM

    I wonder whether it's significant that it's the new method that is being stubbed.

  • James Mead
    James Mead created the ticket at 3:54 PM

    Reported on behalf of Gareth Reeves :-

    Running the following code gives a single expectation error in TestB#setup :-

      unexpected invocation: B.new()
    

    It's lik...

Thursday, October 08 2009
55 Running the test suite on 1.9 HEAD was updated in mocha
  • James Mead
    James Mead commented at 9:38 AM

    Note to self: I just tried running unit tests on Ruby 1.9.1-p0 and they all pass even without the test-unit gem installed. I need to try this with a newer versi...

Wednesday, October 07 2009
55 Running the test suite on 1.9 HEAD was updated in mocha
  • James Mead
    • State changed from new to open
    by James Mead at 6:29 PM
  • James Mead
    • Tag changed from ruby19 to acceptance, ruby19, testing
    by James Mead at 6:29 PM

    This is correct. I did do some work on fixing this a while ago - I'll see if I can dig out the code.

    As a workaround, you should be able to run the tests on Rub...

Friday, October 02 2009
54 Examples not correctly linked when generating RDoc using Hanna was created in mocha
  • James Mead
    James Mead created the ticket at 3:38 PM

    On approx 20 Sep 2009, Jens Himmelreich posted this comment on my blog :-

    Hi,

    thanks for the great gem. We use it evertime for our mocking in ruby.

    There is a ...

Friday, September 18 2009
53 NameError raised when using Mocha as a Rails plug-in was updated in mocha
  • James Mead
    • State changed from open to resolved
    • Tag changed from bug-report to bug-report, plugin
    by James Mead at 12:10 PM

    I've just released version 0.9.8 which does not load Mocha in the plugin. You will need to explicitly load Mocha after the test framework (as you have already d...

Thursday, September 17 2009
53 NameError raised when using Mocha as a Rails plug-in was updated in mocha
  • James Mead
    James Mead commented at 5:18 PM

    Hi Chry,

    Thanks. That's helpful.

    The problem is because of the changes I made in 0.9.6 which mean that Mocha no longer loads the test frameworks (Test::Unit or ...

Wednesday, September 16 2009
53 NameError raised when using Mocha as a Rails plug-in was updated in mocha
  • James Mead
    • State changed from new to open
    by James Mead at 3:56 PM

    Sorry for the delay in responding to this. I've just managed to reproduce it and am having a think about the best way to fix the problem.

    Just so I'm clear, is ...

Friday, July 24 2009
49 Mocha is broken out right on Ruby 1.9.1 in some cases was updated in mocha
  • James Mead
    • State changed from new to resolved
    by James Mead at 11:59 PM

    Believed fixed.