Sha256: 6dd77874e1d63f9c691b9e92cc7f2b360b4fa8f117c2b851a5d2464be62dab4b

Contents?: true

Size: 357 Bytes

Versions: 1

Compression:

Stored size: 357 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

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

  assert_methods_are_deterministic(FFakerTW::IdentificationESCL, :rut)

  def setup
    @tester = FFakerTW::IdentificationESCL
  end

  def test_rut
    assert_match(/\b\d{7,8}-[k|0-9]/i, @tester.rut)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ffakerTW-0.1.0 test/test_identification_es_cl.rb