diff options
author | mhutchin <mike@mhutchinson.com> | 2011-03-29 00:39:33 -0700 |
---|---|---|
committer | mhutchin <mike@mhutchinson.com> | 2011-03-29 00:39:33 -0700 |
commit | 9fdfe2ec1e4451b9dd4c3cdfdf22c895659f53e7 (patch) | |
tree | 0c780440c7ffedbdff1dd9090aeb17a3da76da68 /railties/guides/source/testing.textile | |
parent | b671e4d86aa77af6a85ed454f7904ceaf40cc4ce (diff) | |
download | rails-9fdfe2ec1e4451b9dd4c3cdfdf22c895659f53e7.tar.gz rails-9fdfe2ec1e4451b9dd4c3cdfdf22c895659f53e7.tar.bz2 rails-9fdfe2ec1e4451b9dd4c3cdfdf22c895659f53e7.zip |
Fixed typo and improved readability.
Diffstat (limited to 'railties/guides/source/testing.textile')
-rw-r--r-- | railties/guides/source/testing.textile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/guides/source/testing.textile b/railties/guides/source/testing.textile index d3f72509c6..d937f30609 100644 --- a/railties/guides/source/testing.textile +++ b/railties/guides/source/testing.textile @@ -748,7 +748,8 @@ You don't need to set up and run your tests by hand on a test-by-test basis. Rai h3. Brief Note About +Test::Unit+ -Ruby ships with a boat load of libraries. 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+ that it is how we can use all the basic assertions in our tests. +Ruby ships with a boat load of libraries. 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 +us to use all of the basic assertions in our tests. NOTE: For more information on +Test::Unit+, refer to "test/unit Documentation":http://ruby-doc.org/stdlib/libdoc/test/unit/rdoc/ |