Sha256: 9d80138c267f01f558719d8da954b92832fa4e8d0a616ea100f132808d8a1304
Contents?: true
Size: 484 Bytes
Versions: 4
Compression:
Stored size: 484 Bytes
Contents
require 'spec_helper' describe Cellularity::Iccid do let(:invalid_iccid) { [97824234, 'ahsndjfksnajwkehdms5'] } let(:valid_iccid) { [12345678901234567890, '1234567890123456789'] } it 'should think that valid iccids are valid' do valid_iccid.each { |iccid| Cellularity::Iccid.new(iccid).valid?.should be_true } end it 'should think that invalid iccids are invalid' do invalid_iccid.each { |iccid| Cellularity::Iccid.new(iccid).valid?.should be_false } end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cellularity-1.0.0 | spec/iccid_spec.rb |
cellularity-0.0.2.1 | spec/iccid_spec.rb |
cellularity-0.0.2 | spec/iccid_spec.rb |
cellularity-0.0.1 | spec/iccid_spec.rb |