
Minor spec failure on Ruby 1.9 when testing for Test::Unit::AssertionFailedError
Reported by Kamal Fariz | August 12th, 2009 @ 03:20 AM
On Ruby 1.9, Test::Unit::AssertionFailedError has been removed and replaced with MiniTest::Assertion. This fails about 8 specs on master.
I sent a pull request at http://github.com/kamal/webrat/tree/ruby19-compat which fixes this issue by defaulting to MiniTest::Assertion if Test::Unit::AssertionFailedError is not found.
This patch applies cleanly on the rack branch as well.
Comments and changes to this ticket
-
Bryan Helmkamp August 12th, 2009 @ 09:36 AM
- State changed from new to resolved
Appplied. Thanks, Kamal.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby Acceptance Testing for Web applications.