aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test/subscription_adapter/postgresql_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actioncable/test/subscription_adapter/postgresql_test.rb')
-rw-r--r--actioncable/test/subscription_adapter/postgresql_test.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/actioncable/test/subscription_adapter/postgresql_test.rb b/actioncable/test/subscription_adapter/postgresql_test.rb
index beb6efab28..1c375188ba 100644
--- a/actioncable/test/subscription_adapter/postgresql_test.rb
+++ b/actioncable/test/subscription_adapter/postgresql_test.rb
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require "test_helper"
-require_relative "./common"
+require_relative "common"
require "active_record"
@@ -12,7 +14,7 @@ class PostgresqlAdapterTest < ActionCable::TestCase
if Dir.exist?(ar_tests)
require File.join(ar_tests, "config")
require File.join(ar_tests, "support/config")
- local_config = ARTest.config["arunit"]
+ local_config = ARTest.config["connections"]["postgresql"]["arunit"]
database_config.update local_config if local_config
end