Просмотр исходного кода

Maintenance: Fixed geo ip test.

Dominik Klein 1 год назад
Родитель
Сommit
8f2b99a33b
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      spec/lib/service/geo_ip_spec.rb

+ 6 - 6
spec/lib/service/geo_ip_spec.rb

@@ -31,11 +31,11 @@ RSpec.describe Service::GeoIp, integration: true do
           let(:expected_result) do
             {
               'country_name'   => 'Switzerland',
-              'city_name'      => 'Effretikon',
+              'city_name'      => 'Amriswil',
               'country_code'   => 'CH',
               'continent_code' => 'EU',
-              'latitude'       => 47.4255,
-              'longitude'      => 8.6909,
+              'latitude'       => 47.5465,
+              'longitude'      => 9.2901,
             }
           end
 
@@ -79,11 +79,11 @@ RSpec.describe Service::GeoIp, integration: true do
           let(:expected_result) do
             {
               'country_name'   => 'United States',
-              'city_name'      => 'Berkeley',
+              'city_name'      => 'Richmond',
               'country_code'   => 'US',
               'continent_code' => 'NA',
-              'latitude'       => 37.8736,
-              'longitude'      => -122.257,
+              'latitude'       => 37.9387,
+              'longitude'      => -122.3661,
             }
           end