about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-09-09 17:36:27 +0200
committerGitHub <noreply@github.com>2017-09-09 17:36:27 +0200
commit90712d42933efd9978e4bbae82f81a4650aa4d84 (patch)
tree93300daea81cc1843f02a2a3edbbcd8b2a2c5d67 /spec
parent6867681c7c0b4a5ec48511c013c3f3aa8684bdae (diff)
Fix errors preventing UnsubscribeService from working (#4866)
Diffstat (limited to 'spec')
-rw-r--r--spec/services/unsubscribe_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/unsubscribe_service_spec.rb b/spec/services/unsubscribe_service_spec.rb
index c81772037..2a02f4c75 100644
--- a/spec/services/unsubscribe_service_spec.rb
+++ b/spec/services/unsubscribe_service_spec.rb
@@ -26,7 +26,7 @@ RSpec.describe UnsubscribeService do
     stub_request(:post, 'http://hub.example.com/').to_raise(HTTP::Error)
     subject.call(account)
 
-    expect(logger).to have_received(:debug).with(/PuSH subscription request for bob@example.com could not be made due to HTTP or SSL error/)
+    expect(logger).to have_received(:debug).with(/unsubscribe for bob@example.com failed/)
   end
 
   def stub_logger