Sha256: 5989a7ee9f0cb7efe763110f19811bcc35b1464ce82d47f6c96d9a86746a88a2

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

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

  assert_methods_are_deterministic(
    FFakerTW::IdentificationIN,
    :aadhaar
  )

  def setup
    @tester = FFakerTW::IdentificationIN
  end

  def test_aadhaar
    assert_match(/\A\d{12}\z/, @tester.aadhaar)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ffakerTW-0.1.0 test/test_identification_in.rb