Sha256: cb4177e0c41cba615e0cbe2c92c00470a7b3d8b0dd9b0a11ddd5affc81410f05

Contents?: true

Size: 358 Bytes

Versions: 5

Compression:

Stored size: 358 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

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

  assert_methods_are_deterministic(
    FFaker::IdentificationIN,
    :aadhaar
  )

  def setup
    @tester = FFaker::IdentificationIN
  end

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

Version data entries

5 entries across 5 versions & 1 rubygems

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