Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove bit about unmaintained test-unit plugins and add note about in…

…stalling test-unit gem
  • Loading branch information...
commit d9dcb6da895b9dc90525d99e3a6f496077c37e7a 1 parent 21dce79
@zzak zzak authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 testing/test-unit.md
View
8 testing/test-unit.md
@@ -5,6 +5,10 @@ One of the advantages of using
[Test::Unit](http://rdoc.info/gems/test-unit/2.1.2/frames) is that it already
ships with Ruby **1.8.7** and you can skip the installation part in some cases.
+For modern versions of Ruby, you must install the Test::Unit gem:
+
+ gem install test-unit
+
Set up rack-test by including `Rack::Test::Methods` into your test class and
defining `app`:
@@ -25,10 +29,6 @@ defining `app`:
end
end
-Since [Contest][ct] and [Test::Spec][ts] are both extensions for Test::Unit,
-all you have to do is install them and add a `require 'contest'` or `require
-'test/spec'` to your test helper.
-
**Shoulda**
require File.expand_path '../test_helper.rb', __FILE__
Please sign in to comment.
Something went wrong with that request. Please try again.