Sha256: ba3a15604b47df7337a7dd3fdb917ae13423f87af26330cd8e971f5bf83fa98d
Contents?: true
Size: 1015 Bytes
Versions: 2
Compression:
Stored size: 1015 Bytes
Contents
Feature: Print speed The DSL support to change the print spead it supports: slow, normal, fast Scenario: Fast speed Given a DSL with: """ruby ZebraPrinterDocument.new do language :zpl2 speed :fast font(:size => :large, :name => 'A') do text '' end end """ When I execute the DSL Then the output should be like "\^PRC,[A-Z0-9],[A-Z0-9]" Scenario: Normal speed Given a DSL with: """ruby ZebraPrinterDocument.new do language :zpl2 speed :normal font(:size => :large, :name => 'A') do text '' end end """ When I execute the DSL Then the output should be like "\^PRA,[A-Z0-9],[A-Z0-9]" Scenario: Slow speed Given a DSL with: """ruby ZebraPrinterDocument.new do language :zpl2 speed :slow font(:size => :large, :name => 'A') do text '' end end """ When I execute the DSL Then the output should be like "\^PR1,[A-Z0-9],[A-Z0-9]"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zebra_printer-0.9.0 | features/print-speed.feature |
zebra_printer-0.8.0 | features/print-speed.feature |