about summary refs log tree commit diff
path: root/spec/workers/web/push_notification_worker_spec.rb
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-21 19:54:36 -0500
committerGitHub <noreply@github.com>2023-02-22 09:54:36 +0900
commit0cfdd1a401f055c23e308a4b823bd250b1cbb3d3 (patch)
tree35cd9c386409bc9a1ca917bb6201b0ba1af37896 /spec/workers/web/push_notification_worker_spec.rb
parent7ecf783dd3bfc07f80aab495273b6d01ba972c40 (diff)
Enable Rubocop Style/StringConcatenation defaults (#23792)
Diffstat (limited to 'spec/workers/web/push_notification_worker_spec.rb')
-rw-r--r--spec/workers/web/push_notification_worker_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/web/push_notification_worker_spec.rb b/spec/workers/web/push_notification_worker_spec.rb
index 5bc24f888..822ef5257 100644
--- a/spec/workers/web/push_notification_worker_spec.rb
+++ b/spec/workers/web/push_notification_worker_spec.rb
@@ -37,7 +37,7 @@ describe Web::PushNotificationWorker do
       expect(a_request(:post, endpoint).with(headers: {
         'Content-Encoding' => 'aesgcm',
         'Content-Type' => 'application/octet-stream',
-        'Crypto-Key' => 'dh=BAgtUks5d90kFmxGevk9tH7GEmvz9DB0qcEMUsOBgKwMf-TMjsKIIG6LQvGcFAf6jcmAod15VVwmYwGIIxE4VWE;p256ecdsa=' + vapid_public_key.delete('='),
+        'Crypto-Key' => "dh=BAgtUks5d90kFmxGevk9tH7GEmvz9DB0qcEMUsOBgKwMf-TMjsKIIG6LQvGcFAf6jcmAod15VVwmYwGIIxE4VWE;p256ecdsa=#{vapid_public_key.delete('=')}",
         'Encryption' => 'salt=WJeVM-RY-F9351SVxTFx_g',
         'Ttl' => '172800',
         'Urgency' => 'normal',