Sha256: ce71049666141a3e63201e9153c5e80a1289a6c899db1696705789f3c15e816c

Contents?: true

Size: 905 Bytes

Versions: 5

Compression:

Stored size: 905 Bytes

Contents

Feature: Directory output

  A directory model's string output is simply the file path of the directory that it models and its
  most relevant attribute for inspection is the path of the directory that it models.


  Background:
    Given a directory model based on "some_directory"


  Scenario: Stringify a directory model
    When the model is output as a string
      """
      @model.to_s
      """
    Then the following text is provided:
      """
      <path_to>/some_directory
      """
    And the output can be used to make an equivalent model
      """
      CukeModeler::Directory.new(@model.to_s)
      """

  Scenario: Inspect a directory model
    When the model is inspected
      """
      @model.inspect
      """
    Then the following text is provided:
      """
      #<CukeModeler::Directory:<object_id> @path: "<path_to>/some_directory">
      """

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cuke_modeler-3.23.0 testing/cucumber/features/modeling/directory_output.feature
cuke_modeler-3.22.0 testing/cucumber/features/modeling/directory_output.feature
cuke_modeler-3.21.0 testing/cucumber/features/modeling/directory_output.feature
cuke_modeler-3.20.1 testing/cucumber/features/modeling/directory_output.feature
cuke_modeler-3.20.0 testing/cucumber/features/modeling/directory_output.feature