Sha256: b2cff199eedb7ec4197839e36085ca8d0e40d4d30f10cf3cf12431bd083b4205

Contents?: true

Size: 292 Bytes

Versions: 6

Compression:

Stored size: 292 Bytes

Contents

require 'helper'

class TestAddressDE < Test::Unit::TestCase
  def test_city
    assert_match /[ a-z]+/, Faker::AddressDE.city
  end

  def test_state
    assert_match /[ a-z]/, Faker::AddressDE.state
  end

  def test_zip_code
    assert_match /^\d{5}$/, Faker::AddressDE.zip_code
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ffaker-1.15.0 test/test_address_de.rb
ffaker-1.14.0 test/test_address_de.rb
ffaker-1.13.0 test/test_address_de.rb
ffaker-1.12.1 test/test_address_de.rb
ffaker-1.12.0 test/test_address_de.rb
ffaker-1.11.0 test/test_address_de.rb