mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Instead boat load of libraries, simply say StdLib
This commit is contained in:
parent
cb12e0408a
commit
5d5b7c56ac
1 changed files with 1 additions and 1 deletions
|
@ -796,7 +796,7 @@ when you initiate a Rails project.
|
|||
Brief Note About `MiniTest`
|
||||
-----------------------------
|
||||
|
||||
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
|
||||
Ruby ships with a vast Standard Library for all common use-cases including testing. Ruby 1.8 provided `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 use `MiniTest` in Ruby 1.8 by installing the `minitest` gem.
|
||||
|
|
Loading…
Reference in a new issue