Sha256: 0e2dce55730b5769b972b3758cdd1481deda03e77af12954e29852341fb06764

Contents?: true

Size: 349 Bytes

Versions: 3

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

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

3 entries across 3 versions & 1 rubygems

Version Path
ffaker-2.18.0 test/test_identification_in.rb
ffaker-2.17.0 test/test_identification_in.rb
ffaker-2.16.0 test/test_identification_in.rb