Sha256: 06c5a5a4fda8cced828ebad51329c914e0893deba28394c92a582436fd688ffe

Contents?: true

Size: 359 Bytes

Versions: 1

Compression:

Stored size: 359 Bytes

Contents

require 'test_helper'

module Europe
  module Countries
    # CurrencyTest
    class CountryTest < Minitest::Test
      include Benchmark

      def test_country_by_name
        reversed_hash = Europe::Countries.name_to_code
        assert_equal reversed_hash['Netherlands'], :NL
        assert_equal reversed_hash['Ireland'], :IE
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
europe-0.0.1 test/europe/countries/country_test.rb