aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/test
Commit message (Collapse)AuthorAgeFilesLines
* Ruby 1.9 compat, consistent load pathsJeremy Kemper2007-10-021-0/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mark Test::Unit#assert_difference incompatibility with Ruby 2 due to ↵Jeremy Kemper2007-09-291-1/+2
| | | | | | Proc#binding usage git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7682 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Test::Unit#assert_difference Ruby 1.9 compatJeremy Kemper2007-09-291-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* assert_difference belongs in Assertions, not forced onto TestCase (closes ↵David Heinemeier Hansson2007-07-241-1/+1
| | | | | | #8894) [norbert] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow for optional messages on assert_difference [nicwilliams] Closes #8928Tobias Lütke2007-07-091-4/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7174 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Enhance assert_difference to accept arrays of strings which are then evaledTobias Lütke2007-06-011-6/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Evaluate expression for assert_difference in the scope of the blockMarcel Molina2007-05-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6701 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typo and clarify code examples in documentation for assert_difference.Marcel Molina2007-05-081-8/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6694 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Simplify API of assert_difference by passing in an expression that is ↵Marcel Molina2007-05-081-20/+31
| | | | | | evaluated before and after the passed in block. See documenation for examples of new API. [Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6693 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added assert_difference and assert_no_difference to test/unit assertionsTobias Lütke2007-05-011-0/+29
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6647 5ecf4fe2-1ee6-0310-87b1-e25e094e27de