Sha256: c07e04fde53cb028b762a9ff6a083730d8b943aa81a543cd2760671809e60316

Contents?: true

Size: 219 Bytes

Versions: 9

Compression:

Stored size: 219 Bytes

Contents

require "spec_helper"

describe BrDanfe::Plate do
  describe ".format_plate" do
    it "returns a formated plate" do
      plate = "ABC1234"
      expect(BrDanfe::Plate.format(plate)).to eq "ABC-1234"
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
br_danfe-0.0.9 spec/lib/plate_spec.rb
br_danfe-0.0.8 spec/lib/plate_spec.rb
br_danfe-0.0.7 spec/lib/plate_spec.rb
br_danfe-0.0.6 spec/lib/plate_spec.rb
br_danfe-0.0.5 spec/lib/plate_spec.rb
br_danfe-0.0.4 spec/lib/plate_spec.rb
br_danfe-0.0.3 spec/lib/plate_spec.rb
br_danfe-0.0.2 spec/lib/plate_spec.rb
br_danfe-0.0.1 spec/lib/plate_spec.rb