diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2013-02-15 22:01:11 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2013-02-15 22:01:11 +0530 |
commit | 2008fe606b6096e4b8ad9c03e03b0d11b94605cd (patch) | |
tree | 74d474bdef1ae699e1549d2a9d303a7bbd44aa07 /guides | |
parent | 3a388da87dd5294f2a2718017a3d6ecc70cfdb17 (diff) | |
download | rails-2008fe606b6096e4b8ad9c03e03b0d11b94605cd.tar.gz rails-2008fe606b6096e4b8ad9c03e03b0d11b94605cd.tar.bz2 rails-2008fe606b6096e4b8ad9c03e03b0d11b94605cd.zip |
copy edits [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/testing.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md index d660d8932f..540197e6e7 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -774,10 +774,10 @@ You don't need to set up and run your tests by hand on a test-by-test basis. Rai Brief Note About `Test::Unit` ----------------------------- -Ruby ships with a boat load of libraries. In Ruby 1.8 one little gem of a library is `Test::Unit`, a framework for unit testing in Ruby. All the basic assertions discussed above are actually defined in `Test::Unit::Assertions`. The class `ActiveSupport::TestCase` which we have been using in our unit and functional tests extends `Test::Unit::TestCase`, allowing +Ruby ships with a boat load of libraries. Ruby 1.8 provides `Test::Unit`, a framework for unit testing in Ruby. All the basic assertions discussed above are actually defined in `Test::Unit::Assertions`. The class `ActiveSupport::TestCase` which we have been using in our unit and functional tests extends `Test::Unit::TestCase`, allowing us to use all of the basic assertions in our tests. -Ruby 1.9 introduced MiniTest, an updated version of Test::Unit which provides a backwards compatible API for Test::Unit. You could also used MiniTest in Ruby 1.8 by installing the `minitest` gem. +Ruby 1.9 introduced `MiniTest`, an updated version of `Test::Unit` which provides a backwards compatible API for `Test::Unit`. You could also use `MiniTest` in Ruby 1.8 by installing the `minitest` gem. NOTE: For more information on `Test::Unit`, refer to [test/unit Documentation](http://ruby-doc.org/stdlib/libdoc/test/unit/rdoc/) For more information on `MiniTest`, refer to [Minitest](http://www.ruby-doc.org/stdlib-1.9.3/libdoc/minitest/unit/rdoc/) |