Sha256: 24e24f1e8fe69927947d1bbf78e54f620a63d9f27b621778d0090d970bdc69bd
Contents?: true
Size: 295 Bytes
Versions: 5
Compression:
Stored size: 295 Bytes
Contents
# frozen_string_literal: true require "test_helper" class CNPJGeneratorTest < Minitest::Test test "generates valid numbers" do 10.times { assert CNPJ.valid?(CNPJ.generate) } end test "generates random numbers" do 10.times { refute_equal CNPJ.generate, CNPJ.generate } end end
Version data entries
5 entries across 5 versions & 1 rubygems