Sha256: 53f875c00a2b610cccad05012ce83c90e0461ae5599905f9d2623f6e97d0614f

Contents?: true

Size: 618 Bytes

Versions: 7

Compression:

Stored size: 618 Bytes

Contents

# frozen_string_literal: true

require '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

7 entries across 7 versions & 1 rubygems

Version Path
ffaker-2.18.0 test/test_address_sn.rb
ffaker-2.17.0 test/test_address_sn.rb
ffaker-2.16.0 test/test_address_sn.rb
ffaker-2.15.0 test/test_address_sn.rb
ffaker-2.14.0 test/test_address_sn.rb
ffaker-2.13.0 test/test_address_sn.rb
ffaker-2.12.0 test/test_address_sn.rb