Sha256: 01bbc2bc50181910c854c9bf6cc5b1ab9a91ccfc5d47e8f73ea37dd0a6619f5b

Contents?: true

Size: 329 Bytes

Versions: 2

Compression:

Stored size: 329 Bytes

Contents

require 'test_helper'

class TestSexo < MiniTest::Test
  def setup
    Laranja.load('pt-BR')
  end

  def test_sexo
    sexo = Laranja::Sexo.sexo

    assert_kind_of String, sexo
    refute_empty sexo
  end

  def test_sigla
    sexo = Laranja::Sexo.sigla

    assert_kind_of String, sexo
    assert_equal 1, sexo.size
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
laranja-2.0.1 test/pt-BR/test_sexo.rb
laranja-2.0.0 test/pt-BR/test_sexo.rb