Sha256: 7321e305ddabde68207352945436cad6c3f17639665da43ce2a0ae8ce7d51f80

Contents?: true

Size: 354 Bytes

Versions: 1

Compression:

Stored size: 354 Bytes

Contents

Feature: Data

  The DSL needs away of allowing data to be
  referenced


  Scenario: Data given in constructor
    Given some array data
    And a DSL with:
    """ruby
    ZebraPrinterDocument.new(@data) do
      language :zpl2
      text data.first.text
    end
    """
    When I execute the DSL
    Then the output should include "^FDFirst Data^FS"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zebra_printer-0.1.1 features/data.feature