Skip to content

Commit

Permalink
Fix the retry error class
Browse files Browse the repository at this point in the history
  • Loading branch information
vipulnsward committed Mar 9, 2024
1 parent 26a8431 commit 931c851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/uploadcare/entity/uploader_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ module Entity
VCR.use_cassette('upload_upload_from_url') do
url = 'https://placekitten.com/2250/2250'
error_str = 'Upload is taking longer than expected. Try increasing the max_request_tries config if you know your file uploads will take more time.' # rubocop:disable Layout/LineLength
expect { subject.upload(url) }.to raise_error(RequestError, error_str)
expect { subject.upload(url) }.to raise_error(RetryError, error_str)
end
end
end
Expand Down

0 comments on commit 931c851

Please sign in to comment.