Skip to content

Commit

Permalink
refactor: DRYd raise
Browse files Browse the repository at this point in the history
Co-authored-by: Olle Jonsson <olle.jonsson@gmail.com>
  • Loading branch information
ivanoblomov and olleolleolle committed Mar 27, 2024
1 parent 91187b8 commit 807dc1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/google_maps_geocoder_spec.rb
Expand Up @@ -12,7 +12,7 @@
rescue SocketError
pending 'waiting for a network connection'
rescue GoogleMapsGeocoder::GeocodingError => e
raise e if e.json['status'] == 'REQUEST_DENIED'
raise if e.json['status'] == 'REQUEST_DENIED'

pending 'waiting for query limit to pass'
end
Expand Down

0 comments on commit 807dc1a

Please sign in to comment.