Sha256: d4c65907947f74aef32228c44ecdb113683f3b1e14a7de396f362d891e1c2bfe

Contents?: true

Size: 523 Bytes

Versions: 28

Compression:

Stored size: 523 Bytes

Contents

require 'test_helper'

module Workarea
  class Segment
    module Rules
      class GeolocationOptionTest < TestCase
        def test_search
          assert_equal([GeolocationOption['US-PA']], GeolocationOption.search('penn'))
          assert_equal([GeolocationOption['US-PA']], GeolocationOption.search('Penn'))
          assert_equal([GeolocationOption['CA']], GeolocationOption.search('cana'))
          assert_equal([GeolocationOption['CA']], GeolocationOption.search('CaNa'))
        end
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
workarea-core-3.5.27 test/models/workarea/segment/rules/geolocation_option_test.rb
workarea-core-3.5.26 test/models/workarea/segment/rules/geolocation_option_test.rb
workarea-core-3.5.25 test/models/workarea/segment/rules/geolocation_option_test.rb
workarea-core-3.5.23 test/models/workarea/segment/rules/geolocation_option_test.rb
workarea-core-3.5.22 test/models/workarea/segment/rules/geolocation_option_test.rb
workarea-core-3.5.21 test/models/workarea/segment/rules/geolocation_option_test.rb
workarea-core-3.5.20 test/models/workarea/segment/rules/geolocation_option_test.rb
workarea-core-3.5.19 test/models/workarea/segment/rules/geolocation_option_test.rb
workarea-core-3.5.18 test/models/workarea/segment/rules/geolocation_option_test.rb
workarea-core-3.5.17 test/models/workarea/segment/rules/geolocation_option_test.rb
workarea-core-3.5.16 test/models/workarea/segment/rules/geolocation_option_test.rb
workarea-core-3.5.15 test/models/workarea/segment/rules/geolocation_option_test.rb
workarea-core-3.5.14 test/models/workarea/segment/rules/geolocation_option_test.rb
workarea-core-3.5.13 test/models/workarea/segment/rules/geolocation_option_test.rb
workarea-core-3.5.12 test/models/workarea/segment/rules/geolocation_option_test.rb
workarea-core-3.5.11 test/models/workarea/segment/rules/geolocation_option_test.rb
workarea-core-3.5.10 test/models/workarea/segment/rules/geolocation_option_test.rb
workarea-core-3.5.9 test/models/workarea/segment/rules/geolocation_option_test.rb
workarea-core-3.5.8 test/models/workarea/segment/rules/geolocation_option_test.rb
workarea-core-3.5.7 test/models/workarea/segment/rules/geolocation_option_test.rb