Sha256: a263f65509c02d7a9bfb7e34e0b58378d4ed11054d829f28d7444b9a2f8c4cab
Contents?: true
Size: 331 Bytes
Versions: 5
Compression:
Stored size: 331 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe "Ip2location" do it "work correctly with region get_region_code value" do region = Ip2locationRegion.new('./data/IP2LOCATION-ISO3166-2.CSV') record = region.get_region_code('US', 'California') expect(record).to eq 'US-CA' end end
Version data entries
5 entries across 5 versions & 1 rubygems