Sha256: da9296647c11ef09e2308357d6868b8f1a19550795071f3313ac7f96f1aaf3b9

Contents?: true

Size: 211 Bytes

Versions: 3

Compression:

Stored size: 211 Bytes

Contents

require 'helper'

class TestFakerIdentificationESCL < Test::Unit::TestCase
  def setup
    @tester = Faker::IdentificationESCL
  end

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

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ffaker-1.21.0 test/test_identification_es_cl.rb
ffaker-1.20.0 test/test_identification_es_cl.rb
ffaker-1.19.0 test/test_identification_es_cl.rb