Sha256: 5b4141fc2f410714eb8f06c240869a54a4dbb1a8749303df3a8e4ecf5a7a89a2

Contents?: true

Size: 479 Bytes

Versions: 1

Compression:

Stored size: 479 Bytes

Contents

require 'spec_helper'

describe "Languages support DSL" do
  context "EPL2" do
    [:text, :barcode, :position, :font, :rotate].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].each do |method|
      it "##{method.to_s}" do
        expect(Languages::Zpl2.instance_methods).to include(method)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zebra_printer-0.1.1 spec/lib/languages/languages.rb