Sha256: 90d682e6ded5a0e65077e0cef1ae90a01fe5c02faedc0f4f719b369ab24aa564

Contents?: true

Size: 339 Bytes

Versions: 5

Compression:

Stored size: 339 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

class TestAddressCHIT < Test::Unit::TestCase
  include DeterministicHelper

  assert_methods_are_deterministic(FFaker::AddressCHIT, :canton)

  def test_ch_it_canton
    FFaker::AddressCHIT::CANTON.each do |canton|
      assert_match(/\A[- a-zàâ]+\z/i, canton)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ffaker-2.23.0 test/test_address_ch_it.rb
ffaker-2.22.0 test/test_address_ch_it.rb
ffaker-2.21.0 test/test_address_ch_it.rb
ffaker-2.20.0 test/test_address_ch_it.rb
ffaker-2.19.0 test/test_address_ch_it.rb