Sha256: 835b73f56baa8b9541a1f640d997932d45e83a61fb4b92e82358eb69552cde8b

Contents?: true

Size: 231 Bytes

Versions: 3

Compression:

Stored size: 231 Bytes

Contents

# encoding: utf-8

require 'helper'

class TestFakerIdentificationESCL < Test::Unit::TestCase
  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

3 entries across 3 versions & 1 rubygems

Version Path
ffaker-2.2.0 test/test_identification_es_cl.rb
ffaker-2.1.0 test/test_identification_es_cl.rb
ffaker-2.0.0 test/test_identification_es_cl.rb