From 87f2c7f762940575192e71e8f8da9bcfd4554d37 Mon Sep 17 00:00:00 2001 From: Jeremy McAnally Date: Tue, 2 Feb 2010 18:56:15 -0600 Subject: [PATCH] Switch to FileList for test task --- Rakefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index 56d2fd2..421514e 100644 --- a/Rakefile +++ b/Rakefile @@ -5,11 +5,10 @@ require 'rake/rdoctask' desc 'Default: run unit tests.' task :default => :test -desc 'Test the rails_upgrade plugin.' -Rake::TestTask.new(:test) do |t| +Rake::TestTask.new do |t| t.libs << 'lib' t.libs << 'test' - t.pattern = 'test/*_test.rb' + t.test_files = FileList['test/*_test.rb'] t.verbose = true end