Skip to content

Commit 501b9ae

Browse files
committed
Fix test in 3.2
1 parent 03a8ba9 commit 501b9ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jobs/action_push_native/notification_job_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class NotificationJobTest < ActiveSupport::TestCase
3636

3737
test "Socket errors are retried" do
3838
device = action_push_native_devices(:pixel9)
39-
Net::HTTP.any_instance.stubs(:request).raises(Socket::ResolutionError)
39+
Net::HTTP.any_instance.stubs(:request).raises(SocketError)
4040
ActionPushNative::Service::Fcm.any_instance.stubs(:access_token).returns("fake_access_token")
4141

4242
assert_enqueued_jobs 1, only: ActionPushNative::NotificationJob do

0 commit comments

Comments
 (0)