aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing/assertions.rb
Commit message (Collapse)AuthorAgeFilesLines
* convert strings to lambdas so we can use a consistent interface to the ↵Aaron Patterson2011-05-011-5/+5
| | | | objects in the collection
* assert_difference can take a callable piece of code rather than just evaling ↵Aaron Patterson2011-05-011-4/+15
| | | | a string
* code gardening: we have assert_(nil|blank|present), more concise, with ↵Xavier Noria2010-08-171-4/+6
| | | | better default failure messages - let's use them
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-2/+2
| | | | 's/[ \t]*$//' -i {} \;)
* adds missing require for blank? and present?Xavier Noria2010-03-311-0/+1
|
* New assertion: assert_present [#4299 state:committed]Juanjo Bazan2010-03-301-0/+7
| | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* new assertion: assert_blankJuanjo Bazan2010-03-301-0/+7
| | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* Fix dependencies revealed by testing in isolationJeremy Kemper2009-04-221-0/+2
|
* Oops, don't yield per expressionJeremy Kemper2009-02-061-10/+9
|
* Include failed difference expression in assert messageJeremy Kemper2009-02-061-8/+10
|
* Work around enumerable string deprecation warningsJeremy Kemper2009-02-061-6/+9
|
* Rework testing extensions to reflect the recent miniunit upheavalJeremy Kemper2008-11-071-1/+1
|
* Remove direct TestCase mixins. Add miniunit compatibility.Jeremy Kemper2008-11-071-0/+61