Sha256: c021edb6d2acafbfd90b06ed65ed2de9f4c6b4772f39de0d6ad93610b5ad1dcd
Contents?: true
Size: 670 Bytes
Versions: 2
Compression:
Stored size: 670 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe Thermal::Printer do describe "#translation" do it "should be empty" do Thermal::Printer.translate.should be {} end end describe "#getCode" do it "should return open/close tag array" do Thermal::Printer.getCode(:tag).should eq ['', ''] end end describe "#startCode" do it "should return a printer code to start a print mode" do Thermal::Printer.startCode(:tag).should eq '' end end describe "#endCode" do it "should return a printer code to end a print mode" do Thermal::Printer.endCode(:tag).should eq '' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thermal-0.1.1 | spec/printer_spec.rb |
thermal-0.1.0 | spec/printer_spec.rb |