Sha256: 9fc69bf15e9b163027412082abb0351491059ad535ba7a55b52c2583354f1c1f
Contents?: true
Size: 338 Bytes
Versions: 3
Compression:
Stored size: 338 Bytes
Contents
require 'spec_helper' describe Languages::Zpl2::Barcode2D do context "data_matrix" do it "#render" do font = Languages::Zpl2::Font.new barcode = Languages::Zpl2::Barcode2D.new :data_matrix, :font => font, :text => 'hello_world' expect(barcode.render).to eq("^BXN,4,200,16,16^FDhello_world^FS") end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
zebra_printer-0.9.0 | spec/lib/languages/zpl2/barcode2d_spec.rb |
zebra_printer-0.8.0 | spec/lib/languages/zpl2/barcode2d_spec.rb |
zebra_printer-0.1.1 | spec/lib/languages/zpl2/barcode2d_spec.rb |