Sha256: 992991a030c33f7a7d82cb51ee75ce25102d35e679bb676cf01e362c39f9faa2

Contents?: true

Size: 239 Bytes

Versions: 24

Compression:

Stored size: 239 Bytes

Contents

require "spec_helper"

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

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
br_danfe-0.2.3 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.2.2 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.2.1 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.2.0 spec/lib/danfe_lib/plate_spec.rb