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

Friday, July 24 2009
46 "expects" in a mock block doesn't return an expectation, if the parameter is ... was updated in mocha
  • James Mead
    James Mead commented at 6:38 PM

    I think one way to improve this is for Mock#expects to return an instance of an ExpectationList when it is passed a Hash (instead of returning the Hash which is...

51 doc generation fails in 0.9.7 gem was updated in mocha
  • James Mead
    James Mead commented at 4:06 PM

    I'm glad it worked. Thanks for testing it so quickly for me.

  • James Mead
    • State changed from new to open
    • Tag changed from gem to bug, bug-report, gem, rdoc
    by James Mead at 3:34 PM

    Thanks for reporting this. I've just committed what I hope is a fix [1].

    Would you be able to checkout HEAD and see if this fixes the problem for you.

    If it doe...

Wednesday, July 01 2009
50 after mocha update from 0.9.5 to 0.9.6 unit tests fails to execute was updated in mocha
  • James Mead
    • State changed from open to resolved
    by James Mead at 4:56 PM
  • James Mead
    James Mead commented at 12:17 PM

    It looks like Mocha is being loaded when the thoughtbot-shoulda gem is loaded. This is in turn loading activesupport/testcase.rb which is loading the mocha gem.

    ...
  • James Mead
    • State changed from new to open
    by James Mead at 9:21 AM

    Thanks for the extra information.

    I think the important thing is for me to understand exactly how and when Mocha is being loaded.

    I'm attaching a patched versio...

49 Mocha is broken out right on Ruby 1.9.1 in some cases was updated in mocha
  • James Mead
    James Mead commented at 10:03 AM

    Hi Chad,

    There is now a release [1] incorporating the changes I mentioned above.

    It would be really helpful if you could tell me whether the newly released vers...

Tuesday, June 30 2009
50 after mocha update from 0.9.5 to 0.9.6 unit tests fails to execute was updated in mocha
  • James Mead
    James Mead commented at 10:15 PM

    Hmm. That's strange. I wonder if there is a difference between versions of RubyGems. What version do you have? I have 1.3.1.

    You could try :-

    require 'test/uni...
  • James Mead
    James Mead commented at 6:03 PM

    I have reproduced the problem with Ruby 1.8.6, Rails 2.3.2 and test-unit gem 2.0.2.

    The main problem seems to be that the test-unit gem is not being loaded befo...

  • James Mead
    • Tag set to bug-report
    by James Mead at 5:46 PM

    Thanks for reporting the problem. I'd be really grateful if you could supply us with a bit more information :-

    What version of Ruby are you using?

    What version ...