Sha256: a053273ea1abe58b945264c01558c0808a8c5332856d6cd551661506aa0cc6df

Contents?: true

Size: 335 Bytes

Versions: 7

Compression:

Stored size: 335 Bytes

Contents

# frozen_string_literal: true

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

7 entries across 7 versions & 1 rubygems

Version Path
ffaker-2.18.0 test/test_identification_kr.rb
ffaker-2.17.0 test/test_identification_kr.rb
ffaker-2.16.0 test/test_identification_kr.rb
ffaker-2.15.0 test/test_identification_kr.rb
ffaker-2.14.0 test/test_identification_kr.rb
ffaker-2.13.0 test/test_identification_kr.rb
ffaker-2.12.0 test/test_identification_kr.rb