Skip to content
This repository
Browse code

Spell out minitest changes more

  • Loading branch information...
commit 243c96dca5818486a97f20c625da4a9e6a241656 1 parent e336700
Nick Sieger authored April 30, 2012

Showing 1 changed file with 3 additions and 4 deletions. Show diff stats Hide diff stats

  1. 7  README.rdoc
7  README.rdoc
Source Rendered
@@ -10,15 +10,14 @@ CI::Reporter is available as a gem. To install the gem, use the usual gem comman
10 10
 
11 11
 CI::Reporter works best with projects that use a +Rakefile+ along with the standard <code>Rake::TestTask</code> or <code>Spec::Rake::SpecTask/RSpec::Core::RakeTask</code> tasks for running tests or examples, respectively. In this fashion, it hooks into <code>Test::Unit</code> or +RSpec+ using environment variables recognized by these custom tasks to inject the CI::Reporter code into the test or spec runs.  If you're using the Rails plugin, step 1 is unnecessary; skip to step 2.
12 12
 
13  
-1. To use CI::Reporter, simply add the following lines to your Rakefile:
  13
+1. To use CI::Reporter, simply add one of the following lines to your Rakefile:
14 14
 
15  
-    require 'rubygems'
16 15
     require 'ci/reporter/rake/rspec'     # use this if you're using RSpec
17 16
     require 'ci/reporter/rake/cucumber'  # use this if you're using Cucumber
18 17
     require 'ci/reporter/rake/test_unit' # use this if you're using Test::Unit
19  
-    require 'ci/reporter/rake/minitest' # use this if you're using MiniTest::Unit
  18
+    require 'ci/reporter/rake/minitest'  # use this if you're using Ruby 1.9 or minitest
20 19
 
21  
-2. Next, either modify your Rakefile to make the <code>ci:setup:rspec</code>, <code>ci:setup:cucumber</code> or <code>ci:setup:testunit</code> task a dependency of your test tasks, or include them on the Rake command-line before the name of the task that runs the tests or specs.
  20
+2. Next, either modify your Rakefile to make the <code>ci:setup:rspec</code>, <code>ci:setup:cucumber</code>, <code>ci:setup:testunit</code> or <code>ci:setup:minitest</code> task a dependency of your test tasks, or include them on the Rake command-line before the name of the task that runs the tests or specs.
22 21
 
23 22
     rake ci:setup:testunit test
24 23
 

0 notes on commit 243c96d

Please sign in to comment.
Something went wrong with that request. Please try again.