Sha256: 271ef754b6b14645f248ed2aec0b44f09016f75cba362267a164fb9c95208805

Contents?: true

Size: 230 Bytes

Versions: 14

Compression:

Stored size: 230 Bytes

Contents

# encoding: utf-8

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

14 entries across 14 versions & 3 rubygems

Version Path
solidus_backend-1.0.0.pre3 vendor/bundle/gems/ffaker-1.32.1/test/test_identification_es_cl.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/ffaker-1.32.1/test/test_identification_es_cl.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/ffaker-1.32.1/test/test_identification_es_cl.rb
ffaker-1.32.1 test/test_identification_es_cl.rb
ffaker-1.32.0 test/test_identification_es_cl.rb
ffaker-1.31.0 test/test_identification_es_cl.rb
ffaker-1.30.0 test/test_identification_es_cl.rb
ffaker-1.25.0 test/test_identification_es_cl.rb
ffaker-1.24.0 test/test_identification_es_cl.rb
ffakerer-1.0.2 test/test_identification_es_cl.rb
ffaker-1.23.0 test/test_identification_es_cl.rb
ffakerer-1.0.1 test/test_identification_es_cl.rb
ffaker-1.22.1 test/test_identification_es_cl.rb
ffaker-1.22.0 test/test_identification_es_cl.rb