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.

assert_raises will be deprecated in Ruby 1.9

#1617

assert_raises method will be deprecated in Ruby 1.9

This patch renames assert_raises to assert_raise.

Reported by Luis Hurtado · December 23rd, 2008 @ 12:18 AM

State: resolved
Milestone: 2.x
Assigned to: Jeremy Kemper Jeremy Kemper
Importance: none

Activity

  1. Daniel Schierbeck
    Daniel Schierbeck

    The patch no longer applied, so I figured it was easier to redo the change. I executed find ./ -type f -exec sed -i 's/assert_raises/assert_raise/' {} \;.

    December 30th, 2008 @ 04:53 PM

  2. Pratik
    Pratik
    • Assigned user set to Jeremy Kemper

    March 7th, 2009 @ 12:13 PM

  3. Repository
    Repository
    • State changed from new to resolved

    (from [1c36172c13fc51b22167f5e8fc41b1da9f8fcb2a]) Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.

    [#1617 state:resolved] http://github.com/rails/rails/co...

    March 8th, 2009 @ 08:13 PM