Sha256: 638a7f22379cc230940465d4ec4e25f375aad8de22425a3220ad7c29a1686f79

Contents?: true

Size: 344 Bytes

Versions: 4

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

4 entries across 4 versions & 1 rubygems

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