Sha256: 76187047313d9a44e78420572c1643051836e7fe205c3a06636e8412bfd99559

Contents?: true

Size: 323 Bytes

Versions: 10

Compression:

Stored size: 323 Bytes

Contents

# encoding: utf-8

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

10 entries across 10 versions & 1 rubygems

Version Path
ffaker-2.11.0 test/test_identification_kr.rb
ffaker-2.10.0 test/test_identification_kr.rb
ffaker-2.9.0 test/test_identification_kr.rb
ffaker-2.8.1 test/test_identification_kr.rb
ffaker-2.8.0 test/test_identification_kr.rb
ffaker-2.7.0 test/test_identification_kr.rb
ffaker-2.6.0 test/test_identification_kr.rb
ffaker-2.5.0 test/test_identification_kr.rb
ffaker-2.4.0 test/test_identification_kr.rb
ffaker-2.3.0 test/test_identification_kr.rb