1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Rename adapter_short to adapter_name

This commit is contained in:
Yasuo Honda 2021-09-21 08:26:04 +09:00
parent c344d61e3f
commit 6d10aafce6

View file

@ -15,14 +15,14 @@ Rails::TestUnit::Runner.singleton_class.prepend Module.new {
private
def list_tests(argv)
tests = super
tests.concat FileList["test/cases/adapters/#{adapter_short}/**/*_test.rb"]
tests.concat FileList["test/cases/adapters/#{adapter_name}/**/*_test.rb"]
end
def default_test_exclude_glob
ENV["DEFAULT_TEST_EXCLUDE"] || "test/cases/adapters/*/*_test.rb"
end
def adapter_short
def adapter_name
ENV["ARCONN"] || "sqlite3"
end
}