Sha256: f01f871127b6332a48e93c8226910c7b8f21567eb5f738dc095aaf03605303cb

Contents?: true

Size: 333 Bytes

Versions: 10

Compression:

Stored size: 333 Bytes

Contents

# encoding: utf-8

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

10 entries across 10 versions & 1 rubygems

Version Path
ffaker-2.11.0 test/test_identification_es_cl.rb
ffaker-2.10.0 test/test_identification_es_cl.rb
ffaker-2.9.0 test/test_identification_es_cl.rb
ffaker-2.8.1 test/test_identification_es_cl.rb
ffaker-2.8.0 test/test_identification_es_cl.rb
ffaker-2.7.0 test/test_identification_es_cl.rb
ffaker-2.6.0 test/test_identification_es_cl.rb
ffaker-2.5.0 test/test_identification_es_cl.rb
ffaker-2.4.0 test/test_identification_es_cl.rb
ffaker-2.3.0 test/test_identification_es_cl.rb