Sha256: e2a16a036371cd65c84aef91275e2221455de5fda450c320be19d032c5b5201c

Contents?: true

Size: 307 Bytes

Versions: 10

Compression:

Stored size: 307 Bytes

Contents

# encoding: utf-8

require 'helper'

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

  assert_methods_are_deterministic(FFaker::AddressCHFR, :canton)

  def test_ch_fr_canton
    assert_match(/\A[- a-zàâäèéêëîïôœùûüÿç]+\z/i, FFaker::AddressCHFR.canton)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ffaker-2.11.0 test/test_address_ch_fr.rb
ffaker-2.10.0 test/test_address_ch_fr.rb
ffaker-2.9.0 test/test_address_ch_fr.rb
ffaker-2.8.1 test/test_address_ch_fr.rb
ffaker-2.8.0 test/test_address_ch_fr.rb
ffaker-2.7.0 test/test_address_ch_fr.rb
ffaker-2.6.0 test/test_address_ch_fr.rb
ffaker-2.5.0 test/test_address_ch_fr.rb
ffaker-2.4.0 test/test_address_ch_fr.rb
ffaker-2.3.0 test/test_address_ch_fr.rb