Sha256: aa11d7f414cf512a02779bdef45a12f2be49fb6b49c8fde55f71d8a782d80192

Contents?: true

Size: 493 Bytes

Versions: 2

Compression:

Stored size: 493 Bytes

Contents

require 'spec_helper'

describe "Languages support DSL" do
  context "EPL2" do
    [:text, :barcode, :position, :font, :rotate, :data].each do |method|
      it "##{method.to_s}" do
        expect(Languages::Epl2.instance_methods).to include(method)
      end
    end
  end
  context "ZPL2" do
    [:text, :barcode, :position, :font, :rotate, :data].each do |method|
      it "##{method.to_s}" do
        expect(Languages::Zpl2.instance_methods).to include(method)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zebra_printer-0.9.0 spec/lib/languages/languages_spec.rb
zebra_printer-0.8.0 spec/lib/languages/languages_spec.rb