Skip to content

Commit bb2d24e

Browse files
committed
- postgresql_test: use DATABASE_URL
1 parent 1bcf657 commit bb2d24e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/subscription_adapter/postgresql_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class PostgresqlAdapterTest < ActionCable::TestCase
1111
include ChannelPrefixTest
1212

1313
def setup
14-
database_config = { "adapter" => "postgresql", "database" => "activerecord_unittest" }
14+
database_config = { "adapter" => "postgresql", "database" => "activerecord_unittest", "url" => ENV["DATABASE_URL"] }
1515
ar_tests = File.expand_path("../../../activerecord/test", __dir__)
1616
if Dir.exist?(ar_tests)
1717
require File.join(ar_tests, "config")

0 commit comments

Comments
 (0)