Sha256: bf71ae25ab26bdf99d23f2b54455bc2f070ea45b4ca3ac6b3fe5a0883fcecf96

Contents?: true

Size: 547 Bytes

Versions: 3

Compression:

Stored size: 547 Bytes

Contents

# encoding: utf-8

# => author: PapePathe github.com/PapePathe
# => email: pathe.sene@gmail.com

require "helper"

class TestAddressSn < Test::Unit::TestCase

  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

3 entries across 3 versions & 1 rubygems

Version Path
ffaker-2.2.0 test/test_address_sn.rb
ffaker-2.1.0 test/test_address_sn.rb
ffaker-2.0.0 test/test_address_sn.rb