Sha256: 36e0c35197b4694de723666c35b039cb2a75d5b87b9ab973e6eb6c88946eddcf

Contents?: true

Size: 329 Bytes

Versions: 3

Compression:

Stored size: 329 Bytes

Contents

require 'spec_helper'

describe Languages::Epl2::Barcode2D do
  context "data_matrix" do
    it "#render" do
      font = Languages::Epl2::Font.new 
      barcode = Languages::Epl2::Barcode2D.new :data_matrix, :font => font, :at => [1,2], :text => "3"
      expect(barcode.render).to eq("b1,2,D,c16,r16,\"3\"")
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
zebra_printer-0.9.0 spec/lib/languages/epl2/barcode_2d_spec.rb
zebra_printer-0.8.0 spec/lib/languages/epl2/barcode_2d_spec.rb
zebra_printer-0.1.1 spec/lib/languages/epl2/barcode_2d_spec.rb