From d6d29626f65f607fc7d23bc26330083bae7fc687 Mon Sep 17 00:00:00 2001
From: Alex Reisner <alex@alexreisner.com>
Date: Fri, 27 Jul 2018 11:09:32 -0400
Subject: [PATCH] Set default fixture for Ip2Location.

---
 test/test_helper.rb | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/test/test_helper.rb b/test/test_helper.rb
index 62749565..c7063990 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -217,6 +217,14 @@ module Geocoder
       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
-- 
GitLab