Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Switch to FileList for test task

  • Loading branch information...
commit 87f2c7f762940575192e71e8f8da9bcfd4554d37 1 parent 76b019a
@jm jm authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 Rakefile
View
5 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

0 comments on commit 87f2c7f

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