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.

This project is archived and is in readonly mode.

Redundant ActionMailer test code supposedly added to fix a very old Mocha bug

#3886

In commit 704f2cc6dee9d55d19bfad8e4a8308fdee71bf6f a couple of lines of code were adding with the following comment: "Replacing logger work around for mocha bug. Should be fixed in mocha 0.3.3".

Since the Rails Gemfile now specifies Mocha >= 0.9.8 and since the ActionMailer tests still pass when these lines are removed, it seems sensible to remove them.

Reported by James Mead · February 7th, 2010 @ 07:08 PM

State: committed
Milestone: none
Assigned to: Santiago Pastorino Santiago Pastorino
Importance: Low

Activity

  1. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to open
    • Assigned user set to Santiago Pastorino
    • Importance changed from to Low

    That patch doesn't apply any more. Here is a new one. The tests still pass after removing the workaround.

    October 8th, 2010 @ 02:24 AM

  2. Santiago Pastorino
    Santiago Pastorino

    Well done Rohit, you're tackling every issue at LH. But can you please keep the author in this one?.
    I guess James can be unhappy if we change it ;).

    October 8th, 2010 @ 11:35 AM

  3. Rohit Arondekar
    Rohit Arondekar

    Oh no, good catch, I thought I had changed it!

    October 8th, 2010 @ 11:37 AM

  4. Repository
  5. Ryan Bigg
    Ryan Bigg
    • Tag cleared.

    Automatic cleanup of spam.

    October 9th, 2010 @ 09:53 PM