Sha256: 5d34f8e4d11007204d418f08e37f36bbf4081539d941bbba5a698f7d3d440b73
Contents?: true
Size: 238 Bytes
Versions: 3
Compression:
Stored size: 238 Bytes
Contents
require 'eric_tools' describe "get_city_name_from_ip" do it 'should be shanghai' do response = EricTools.get_city_name_from_ip :ak => 'HS8ViRxQT0xMu8d3uARISMif', :ip => '101.231.116.38' response["city"].equal? '上海' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
eric_tools-0.0.7 | test/test_eric_tools.rb |
eric_tools-0.0.6 | test/test_eric_tools.rb |
eric_tools-0.0.5 | test/test_eric_tools.rb |