# encoding: utf-8 require 'test_helper' class IpMetaDataTest < TestCase def test_should_work_with_incorrect_response resp = %Q{Not found} meta = Ipgeobase::IpMetaData.parse(resp) assert_equal nil, meta.city end end