Sha256: 0b7068d608081c73757534039e174c0958f130595618506842344ecea4ae48ca
Contents?: true
Size: 214 Bytes
Versions: 2
Compression:
Stored size: 214 Bytes
Contents
require "spec_helper" describe BrDanfe::Cpf do describe ".format" do it "returns a formated CPF " do cpf = "61092121480" expect(BrDanfe::Cpf.format(cpf)).to eq "610.921.214-80" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
br_danfe-0.0.2 | spec/lib/cpf_spec.rb |
br_danfe-0.0.1 | spec/lib/cpf_spec.rb |