Skip to content

Commit

Permalink
Set default fixture for Ip2Location.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreisner committed Jul 27, 2018
1 parent 7ea84fa commit d6d2962
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,14 @@ def default_fixture_filename
end
end

require 'geocoder/lookups/ip2location_api'
class Ip2locationApi
private
def default_fixture_filename
"ip2location_api_8_8_8_8"
end
end

require 'geocoder/lookups/ipstack'
class Ipstack
private
Expand Down

0 comments on commit d6d2962

Please sign in to comment.