Sha256: fcaddc84ff6b8b3b6c0d520089ad79e3795385f3ffa6ab353a8c2713df4f1b1e
Contents?: true
Size: 689 Bytes
Versions: 1
Compression:
Stored size: 689 Bytes
Contents
# frozen_string_literal: true require_relative 'helper' class TestAddressDE < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic( FFakerTW::AddressDE, :city, :state, :street_address, :street_name, :zip_code ) def test_city assert_match(/[ a-z]+/, FFakerTW::AddressDE.city) end def test_state assert_match(/[ a-z]/, FFakerTW::AddressDE.state) end def test_zip_code assert_match(/^\d{5}$/, FFakerTW::AddressDE.zip_code) end def test_street_name assert_match(/[ a-z]+/, FFakerTW::AddressDE.street_name) end def test_street_address assert_match(/[ a-z]+/, FFakerTW::AddressDE.street_address) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ffakerTW-0.1.0 | test/test_address_de.rb |