Sha256: c782bcf10d5c4e2418232a8f12ce62a85c4e92ba1e2fe6c28f8b1d3933fc68d2

Contents?: true

Size: 352 Bytes

Versions: 5

Compression:

Stored size: 352 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

class TestFakerIdentificationES < Test::Unit::TestCase
  include DeterministicHelper

  assert_methods_are_deterministic(FFaker::IdentificationES, :gender)

  def setup
    @tester = FFaker::IdentificationES
  end

  def test_gender
    assert_match(/(Hombre|Mujer)/, @tester.gender)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ffaker-2.23.0 test/test_identification_es.rb
ffaker-2.22.0 test/test_identification_es.rb
ffaker-2.21.0 test/test_identification_es.rb
ffaker-2.20.0 test/test_identification_es.rb
ffaker-2.19.0 test/test_identification_es.rb