Sha256: 74d5e31e60ae1f32397edebb6a1f5982fd8e6a014067d53bec0436a1338402fc

Contents?: true

Size: 344 Bytes

Versions: 1

Compression:

Stored size: 344 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

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

  assert_methods_are_deterministic(FFaker::IdentificationKR, :rrn)

  def setup
    @tester = FFaker::IdentificationKR
  end

  def test_rrn
    assert_match(/\A\d{6}-\d{7}\z/, @tester.rrn)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ffaker-2.23.0 test/test_identification_kr.rb