Adding test file pattern to ensure connection adapter tests are included.
This commit is contained in:
parent
161cf017f9
commit
1175bafe0e
2
Rakefile
2
Rakefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue