Add a comment about using alternate Rails versions to the test task description.

This commit is contained in:
Nathan Weizenbaum 2008-03-05 20:19:52 -08:00
parent 6bf9547c7c
commit 243f46d5dd
1 changed files with 4 additions and 2 deletions

View File

@ -39,12 +39,14 @@ unless ARGV[0] == 'benchmark'
require 'rake/testtask'
desc 'Test the Haml plugin'
Rake::TestTask.new(:test) do |t|
Rake::TestTask.new do |t|
t.libs << 'lib'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end
Rake::Task[:test].send(:add_comment, <<END)
To run with an alternate version of Rails, make test/rails a symlink to that version.
END
# ----- Packaging -----