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:
parent
c344d61e3f
commit
6d10aafce6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue