Sha256: f16c3e763dbdbc5a190462571f3cf8e9d6a53cd7da2b5bae9eeb2b4bf11c7a41
Contents?: true
Size: 215 Bytes
Versions: 6
Compression:
Stored size: 215 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', 'lib', 'brid.rb') describe CNPJ do it { CNPJ.new('18781203/0001-28').should be_valid } it { CNPJ.new('18781203000128').to_s.should == '18.781.203/0001-28' } end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
brid-0.2.1 | spec/cnpj_spec.rb |
brid-0.2.0 | spec/cnpj_spec.rb |
brid-0.1.3 | spec/cnpj_spec.rb |
brid-0.1.2 | spec/cnpj_spec.rb |
brid-0.1.1 | spec/cnpj_spec.rb |
brid-0.1.0 | spec/cnpj_spec.rb |