This project is archived and is in readonly mode.
assert_raises will be deprecated in Ruby 1.9
Reported by Luis Hurtado | December 23rd, 2008 @ 12:18 AM | in 2.x
assert_raises method will be deprecated in Ruby 1.9
This patch renames assert_raises to assert_raise.
Comments and changes to this ticket
-
Daniel Schierbeck December 30th, 2008 @ 04:53 PM
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/' {} \;
. -
Pratik March 7th, 2009 @ 12:13 PM
- Assigned user set to Jeremy Kemper
-
Repository March 8th, 2009 @ 08:13 PM
- 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...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 1617 assert_raises will be deprecated in Ruby 1.9 [#1617 state:resolved] http://github.com/rails/rails/co...
- 3819 Use assert_raise instead of assert_raises See also #1617 which cleaned everything up a little over ...