This project is archived and is in readonly mode.
New assertions: assert_blank and assert_present
Reported by Juanjo Bazán | March 30th, 2010 @ 11:04 PM
I think we should port the helpfulness of the blank method to the unit tests where we have only the assert_nil/assert_not_nil combo.
So here is a patch to add assert_blank and assert_present to the Active Support testing.
Comments and changes to this ticket
-
Repository March 30th, 2010 @ 11:37 PM
- State changed from new to committed
(from [589deb39c79cac40eec40d4ee3d86fac16c1f31f]) New assertion: assert_present [#4299 state:committed]
Signed-off-by: Xavier Noria fxn@hashref.com
http://github.com/rails/rails/commit/589deb39c79cac40eec40d4ee3d86f...
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
- 4691 Use new assertion methods in test This previous patch added two new assertions: assert_pres...
- 4299 New assertions: assert_blank and assert_present (from [589deb39c79cac40eec40d4ee3d86fac16c1f31f]) New ass...