We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03a8ba9 commit 501b9aeCopy full SHA for 501b9ae
test/jobs/action_push_native/notification_job_test.rb
@@ -36,7 +36,7 @@ class NotificationJobTest < ActiveSupport::TestCase
36
37
test "Socket errors are retried" do
38
device = action_push_native_devices(:pixel9)
39
- Net::HTTP.any_instance.stubs(:request).raises(Socket::ResolutionError)
+ Net::HTTP.any_instance.stubs(:request).raises(SocketError)
40
ActionPushNative::Service::Fcm.any_instance.stubs(:access_token).returns("fake_access_token")
41
42
assert_enqueued_jobs 1, only: ActionPushNative::NotificationJob do
0 commit comments