diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-09-07 04:00:00 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-09-07 04:00:00 +0900 |
commit | abfc1db01f2e16fe54e5a747162f01ed5704e961 (patch) | |
tree | 698f5fb1b1db85a3572adbe97e66b23f0a85c385 /actioncable | |
parent | 4b010b081592ba3af3253b50c76496c43c26a635 (diff) | |
download | rails-abfc1db01f2e16fe54e5a747162f01ed5704e961.tar.gz rails-abfc1db01f2e16fe54e5a747162f01ed5704e961.tar.bz2 rails-abfc1db01f2e16fe54e5a747162f01ed5704e961.zip |
Fix test case to ensure default connection id is filled
Follow up of #33798.
Diffstat (limited to 'actioncable')
-rw-r--r-- | actioncable/test/subscription_adapter/redis_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |