Sha256: 2cd52c2cc9aff2f06b71511385b3a8d826dac20027f9b2afec1ae91ede7e296a

Contents?: true

Size: 627 Bytes

Versions: 5

Compression:

Stored size: 627 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

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

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

  def setup
    @subject = FFaker::AddressSN
  end

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

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

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