From abfc1db01f2e16fe54e5a747162f01ed5704e961 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Fri, 7 Sep 2018 04:00:00 +0900 Subject: Fix test case to ensure default connection id is filled Follow up of #33798. --- actioncable/test/subscription_adapter/redis_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actioncable/test') diff --git a/actioncable/test/subscription_adapter/redis_test.rb b/actioncable/test/subscription_adapter/redis_test.rb index 7874bfcfa8..ac2d8ef724 100644 --- a/actioncable/test/subscription_adapter/redis_test.rb +++ b/actioncable/test/subscription_adapter/redis_test.rb @@ -39,10 +39,10 @@ class RedisAdapterTest::Connector < ActionCable::TestCase end test "adds default id if it is not specified" do - config = { url: 1, host: 2, port: 3, db: 4, password: 5, id: "ActionCable1-PID-#{$$}" } + config = { url: 1, host: 2, port: 3, db: 4, password: 5, id: "ActionCable-PID-#{$$}" } assert_called_with ::Redis, :new, [ config ] do - connect config + connect config.except(:id) end end -- cgit v1.2.3