Sha256: a508769409063a3c974ac3b98135eb6abf0915f95a987940af63f25c51d053cd
Contents?: true
Size: 399 Bytes
Versions: 7
Compression:
Stored size: 399 Bytes
Contents
# frozen_string_literal: true require 'helper' class TestAddressCHCH < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic(FFaker::AddressCH, :canton_abbr, :postal_code) def test_ch_canton_abbr assert_match(/\A[A-Z]{2}\z/, FFaker::AddressCH.canton_abbr) end def test_postal_code assert_match(/\A\d{4}\z/, FFaker::AddressCH.postal_code) end end
Version data entries
7 entries across 7 versions & 1 rubygems