diff --git a/test/test_helper.rb b/test/test_helper.rb
index 6274956581d14f176e222974c924f5551329f473..c7063990bf87bef7442cc68c1430429ce0ca450f 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