Sha256: 6296159eaa35686c2ddb0330800e4c2024f4a8e84d27f15d3e6b82c7b00f70c5

Contents?: true

Size: 655 Bytes

Versions: 5

Compression:

Stored size: 655 Bytes

Contents

Feature: Doc string output

  A doc string model's string output is a Gherkin representation of itself.


  Scenario: Outputting a doc string model
    Given the following gherkin:
      """
      \"\"\" type foo
      Some text

        some more text

      \"\"\"
      """
    And a doc string model based on that gherkin
      """
        @model = CukeModeler::DocString.new(<source_text>)
      """
    When the model is output as a string
      """
        @model.to_s
      """
    Then the following text is provided:
      """
      \"\"\" type foo
      Some text

        some more text

      \"\"\"
      """

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cuke_modeler-1.0.4 testing/cucumber/features/modeling/doc_string_output.feature
cuke_modeler-1.0.3 testing/cucumber/features/modeling/doc_string_output.feature
cuke_modeler-1.0.2 testing/cucumber/features/modeling/doc_string_output.feature
cuke_modeler-1.0.1 features/modeling/doc_string_output.feature
cuke_modeler-1.0.0 features/modeling/doc_string_output.feature