Sha256: 0f11e01921b80acbc268f4f4e3eb7a8e71bb865bcbbe44ed83e7b1959aecc585

Contents?: true

Size: 353 Bytes

Versions: 5

Compression:

Stored size: 353 Bytes

Contents

# frozen_string_literal: true

require_relative '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.23.0 test/test_identification_es_cl.rb
ffaker-2.22.0 test/test_identification_es_cl.rb
ffaker-2.21.0 test/test_identification_es_cl.rb
ffaker-2.20.0 test/test_identification_es_cl.rb
ffaker-2.19.0 test/test_identification_es_cl.rb