Sha256: f10f75caaf46ab421e9344faa21914b3e47974f3a52d86f4fee9ed6920cdc99f

Contents?: true

Size: 345 Bytes

Versions: 5

Compression:

Stored size: 345 Bytes

Contents

# frozen_string_literal: true

require 'helper'

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

  assert_methods_are_deterministic(FFaker::IdentificationESCL, :rut)

  def setup
    @tester = FFaker::IdentificationESCL
  end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ffaker-2.16.0 test/test_identification_es_cl.rb
ffaker-2.15.0 test/test_identification_es_cl.rb
ffaker-2.14.0 test/test_identification_es_cl.rb
ffaker-2.13.0 test/test_identification_es_cl.rb
ffaker-2.12.0 test/test_identification_es_cl.rb