Sha256: 9e64e7267783e060f6baf3debfbbf713c83fe11a6a752cf7124a0f21246e5d3f
Contents?: true
Size: 473 Bytes
Versions: 3
Compression:
Stored size: 473 Bytes
Contents
require "spec_helper" describe CPF::Generator do it "generates valid numbers" do expect(CPF).to be_valid(CPF::Generator.generate) expect(CPF).to be_valid(CPF::Generator.generate) expect(CPF).to be_valid(CPF::Generator.generate) expect(CPF).to be_valid(CPF::Generator.generate) expect(CPF).to be_valid(CPF::Generator.generate) end it "generates random numbers" do expect(CPF::Generator.generate).not_to eql(CPF::Generator.generate) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cpf_cnpj-0.2.1 | spec/cpf/generator_spec.rb |
cpf_cnpj-0.2.0 | spec/cpf/generator_spec.rb |
cpf_cnpj-0.1.0 | spec/cpf/generator_spec.rb |