Skip to content

Commit 8935db5

Browse files
committed
TrilogyAdapterTest: use the proper config
1 parent 58a0a52 commit 8935db5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

activerecord/test/cases/adapters/trilogy/trilogy_adapter_test.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@
99

1010
class TrilogyAdapterTest < ActiveRecord::TrilogyTestCase
1111
setup do
12-
@configuration = {
13-
adapter: "trilogy",
14-
username: "rails",
15-
database: "activerecord_unittest",
16-
}
12+
@configuration = ARTest.config.fetch("connections").fetch("trilogy").fetch("arunit").symbolize_keys
1713

1814
@adapter = trilogy_adapter
1915
@adapter.execute("TRUNCATE books")

0 commit comments

Comments
 (0)