Adding test file pattern to ensure connection adapter tests are included.

This commit is contained in:
Zach Dennis 2011-01-11 20:57:00 -05:00
parent 161cf017f9
commit 1175bafe0e

View file

@ -41,7 +41,7 @@ ADAPTERS.each do |adapter|
namespace :test do namespace :test do
desc "Runs #{adapter} database tests." desc "Runs #{adapter} database tests."
Rake::TestTask.new(adapter) do |t| Rake::TestTask.new(adapter) do |t|
t.test_files = FileList["test/adapters/#{adapter}.rb", "test/*_test.rb", "test/#{adapter}/**/*_test.rb"] t.test_files = FileList["test/adapters/#{adapter}.rb", "test/*_test.rb", "test/active_record/*_test.rb", "test/#{adapter}/**/*_test.rb"]
end end
task adapter task adapter
end end