Sha256: 499c9d0a98f46d8eb9ef82801695ece689d566070dd77cd678454f8486aa3e76

Contents?: true

Size: 925 Bytes

Versions: 5

Compression:

Stored size: 925 Bytes

Contents

Feature: An argument that could represent a boolean value will be
    transformed into a boolean type.

  Scenario Outline: Assorted basic inputs are provided.
    Given a file named "features/transform_boolean.feature" with:
      """

Feature: Transform boolean arguments.
  Scenario: Docstring simple value.
    When the response body is assigned:
      \"\"\"
      <input>
      \"\"\"
    Then the response body as JSON is:
      \"\"\"
      '<expected>'
      \"\"\"

  Scenario: Inline simple value.
    When the response body is assigned `<input>`
    Then the response body as JSON is:
      \"\"\"
      '<expected>'
      \"\"\"

      """
    When I run `cucumber --strict features/transform_boolean.feature`
    Then the output should contain:
      """
      2 passed
      """
    And it should pass

    Examples:
      | input     | expected |
      | true      | true     |
      | false     | false    |

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
brine-dsl-0.8.1 features/argument_transforms/boolean.feature
brine-dsl-0.8.0 features/argument_transforms/boolean.feature
brine-dsl-0.7.0 features/argument_transforms/boolean.feature
brine-dsl-0.6.0 features/argument_transforms/boolean.feature
brine-dsl-0.5.0 features/argument_transforms/boolean.feature