menu
  D   	ˆl–Ðz¾”ªC]Šq@=q¦®41hß�þ[ Vq°9 €(ÊÛÍÿ?¿ƒN³Ä_�uÐb&=LyZËcõÃÂ Á    	# Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/

require 'rails_helper'

RSpec.describe GeoLocationBackendOsm, type: :db_migration do
  let(:setting)       { Setting.find_by(name: 'geo_location_backend') }
  let(:current_value) { 'Service::GeoLocation::Gmaps' }

  def revert_setting
    setting.state_current = { 'value' => current_value }
    setting.state_initial = { 'value' => 'Service::GeoLocation::Gmaps' }
    setting.options['form'][0]['options'].delete('Service::GeoLocation::Osm')
    setting.options['form'][0]['options']['Service::GeoLocation::Gmaps'] = 'Google Maps'
    setting.save!
  end

  before do
    revert_setting
    migrate
  end

  it 'migrates the setting' do
    expect(setting.reload).to have_attributes(
      state_current: { 'value' => 'Service::GeoLocation::Osm' },
      state_initial: { 'value' => 'Service::GeoLocation::Osm' },
      options:       {
        'form' => [
          include('options' => include(
            'Service::GeoLocation::Osm' => 'OpenStreetMap (ODbL 1.0, http://osm.org/copyright)',
          ))
        ]
      }
    ).and have_attributes(options: { 'form' => [include('options' => not_include('Service::GeoLocation::Gmaps' => 'Google Maps'))] })
  end

  context 'with non-default value' do
    let(:current_value) { '' }

    it 'does not change setting value' do
      expect(setting.reload).to have_attributes(
        state_current: { 'value' => '' },
      )
    end
  end
end
     ˆÇÆÅ461ÄÃÂ Í    ‹      ­“_oÚ0Åßû)îü°7rù×=´Ž§.ADSmÓ´;ÄZH�}[ Ÿ~¡jV�¶J{‰¯“_ŽÏ¹¶ù»x%ßç#øœÜN`~ÿi2Ž€u¿"Ä8‰›Ã ÛCM°œhs…¸Ýnƒí ¨ì
“æ´.†èÈš”EŠ‰^¿Às-•�“¡B‹q©ôª°z g”âƒ³èri5’Þæñ0®³Ž2ŽêY?õ.Õ…/86J^�â|Y©}½fï¿è{™ƒa¹<,S—VpÊáQfU†ŒªÜ¬Wàl24iU:\²ü¬LÆ@²ãhöÓsHyý·àr«³�}ŒÂéõ,Œ™˜Êµæ(O3·ž¹ab"ÁºR&3Z�…ïøÎ<�Œ&Ö.µfC¦*_PôÛQÓªpé³^ú¹mS¢þÖ™þÑŒùÍb4Mâñ¢i‰ª%^Ü½y·˜˜{¦$ˆ�Õ)UvÌÒ¿/—nsý<…£SkV91Ð�“äâyÔŽ—|KN{>U�£=íYÛï+ƒýn¯ßé:ƒt»W—}€3`/øðå|’ÜN<tŽ‡kÄ±¹º¿É†9*    5   ˆl–Ãa¾”ªi?u8 ¸Û— Ê˜´o�þ[ qÀ³nˆ8àÿŸÁƒžÆÄÃ      ÿfìXò”WŒâ	k    ©`‡vx²Ö¡  à  YARB      à            ”  €  l  )#i‹EEG    3#G+# ÿÿÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿ)#i‹CC+E	       9)		E+) ÿÿÿÿÿÿÿÿ)#i‹AA)C	       9)C)) ÿÿÿÿÿÿÿÿ)#i	‹??'A	       9)A	') ÿÿÿÿÿÿÿÿ)#i‹==%?	       9)?%)	 ÿÿÿÿÿÿÿÿ%sO%-o‹!#=	    )!	iS=#S)	 ÿÿÿÿÿÿÿÿÑ'%''Ù')s‹-/3579!;
          -!	q�[#;A![- ÿÿÿÿÿÿÿÿ  A   ™   é   9  ‰  ñ  ]  ñ	  E�/home/pacs/hsh12/users/zammad/.rbenv/versions/3.4.13/lib/ruby/gems/3.4.0/gems/tzinfo-data-1.2026.6/lib/tzinfo/data/definitions/Etc/GMT__m__14.rbE<main>   TZInfo   E<module:TZInfo>  	Data E<module:Data>Definitions  E)<module:Definitions> Etc  E<module:Etc> GMT__m__14   E'<module:GMT__m__14>  / EEtc/GMT-14   include  timezone E9block in <module:GMT__m__14> o0   õ‰Á+14  tz   offset   %TimezoneDefinition   °  ´  H  T  `  t  |  Œ  œ  ´  ¼  Ì  Ü  ô  ø         @  H  L  T  \  h    7   ˆl–Ãa¾”Êh¥8 Z¸.*bÑ¿�þ[jVÖq°µ(óQºÐ?ŸÂ„]iÿÇÅÄ ?÷     Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: curl
Source: https://curl.se/

Files: *
Copyright: 1997-2022, Daniel Stenberg, <daniel@haxx.se>, et al.
License: curl

Files: debian/*
Copyright: 1999, Leon Breedt <ljb@debian.org>
 2005, Luk Claes <luk@debian.org>
 2005, LaMont Jones <lamont@ubuntu.com>
 2004-2005, Matthias Klose <doko@debian.org>
 2005-2006, Martin Pitt <martin.pitt@ubuntu.com>
 2008, Andreas Schuldei <andreas@debian.org>
 2000-2010, Domenico Andreoli <cavok@debian.org>
 1999-2010, Domenico Andreoli <cavok@debian.org>
 2010-2011, Ramakrishnan Muthukris