Switch to FileList for test task
This commit is contained in:
parent
76b019a2d4
commit
87f2c7f762
5
Rakefile
5
Rakefile
@ -5,11 +5,10 @@ require 'rake/rdoctask'
|
|||||||
desc 'Default: run unit tests.'
|
desc 'Default: run unit tests.'
|
||||||
task :default => :test
|
task :default => :test
|
||||||
|
|
||||||
desc 'Test the rails_upgrade plugin.'
|
Rake::TestTask.new do |t|
|
||||||
Rake::TestTask.new(:test) do |t|
|
|
||||||
t.libs << 'lib'
|
t.libs << 'lib'
|
||||||
t.libs << 'test'
|
t.libs << 'test'
|
||||||
t.pattern = 'test/*_test.rb'
|
t.test_files = FileList['test/*_test.rb']
|
||||||
t.verbose = true
|
t.verbose = true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user