Sha256: 5e91d242dd60401a9a14cb0ccf5f84ea6f402457ec7156e1336591af2fa6eae4

Contents?: true

Size: 643 Bytes

Versions: 1

Compression:

Stored size: 643 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

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

  assert_methods_are_deterministic(
    FFakerTW::AddressSN,
    :region, :departement, :arrondissement
  )

  def setup
    @subject = FFakerTW::AddressSN
  end

  def test_region
    assert FFakerTW::AddressSN::REGIONS.include?(FFakerTW::AddressSN.region)
  end

  def test_departement
    assert FFakerTW::AddressSN::DEPARTEMENTS.include?(FFakerTW::AddressSN.departement)
  end

  def test_arrondissement
    assert FFakerTW::AddressSN::ARRONDISSEMENTS.include?(FFakerTW::AddressSN.arrondissement)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ffakerTW-0.1.0 test/test_address_sn.rb