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.10.0 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.8.0 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.7.7 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.7.6 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.7.5 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.7.4 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.7.3 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.7.2 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.7.1 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.7.0 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.6.1 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.6.0 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.5.2 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.5.1 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.5.0 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.4.3 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.4.2 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.4.1 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.4.0 spec/lib/danfe_lib/plate_spec.rb
br_danfe-0.3.0 spec/lib/danfe_lib/plate_spec.rb