Sha256: 70cc686a5b87f570390bf1849b26bbdea9a16e31cf9eaa40bc85d39c91704d65
Contents?: true
Size: 493 Bytes
Versions: 2
Compression:
Stored size: 493 Bytes
Contents
require 'spec_helper' describe USPSFlags::Helpers do describe "valid_flags" do it "should return an Array" do expect(USPSFlags::Helpers.valid_flags).to be_an(Array) end it "should return all officer flags but nothing else when given type :officer" do expect(USPSFlags::Helpers.valid_flags(:officer).sort).to eql(%w[PLTC PC PORTCAP FLEETCAP LT FLT 1LT LTC CDR PDLTC PDC DLT DAIDE DFLT D1LT DLTC DC PSTFC PRC PVC PCC NAIDE NFLT STFC RC VC CC].sort) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
usps_flags-0.1.26 | spec/usps_flags/helpers_spec.rb |
usps_flags-0.1.25 | spec/usps_flags/helpers_spec.rb |