Sha256: f66d9b2a64c2a7e98cafdbba8adae4ce1c2aba8d4744ef33eaf694d1ecd807c7

Contents?: true

Size: 996 Bytes

Versions: 27

Compression:

Stored size: 996 Bytes

Contents

Feature: Configure if ansi color codes should be stripped off from command output

  As a developer
  I want to strip off ansi color codes
  In order to make checking of those outputs easier

  Background:
    Given I use the fixture "cli-app"

  Scenario: Default value
    Given a file named "features/support/aruba.rb" with:
    """
    Aruba.configure do |config|
      puts %(The default value is "#{config.remove_ansi_escape_sequences}")
    end
    """
    When I successfully run `cucumber`
    Then the output should contain:
    """
    The default value is "true"
    """

  Scenario: Modify value
    Given a file named "features/support/aruba.rb" with:
    """
    Aruba.configure do |config|
      config.remove_ansi_escape_sequences = false
    end

    Aruba.configure do |config|
      puts %(The value is "#{config.remove_ansi_escape_sequences}")
    end
    """
    Then I successfully run `cucumber`
    And the output should contain:
    """
    The value is "false"
    """

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
aruba-0.14.9 features/configuration/remove_ansi_escape_sequences.feature
aruba-0.14.8 features/configuration/remove_ansi_escape_sequences.feature
aruba-0.14.7 features/configuration/remove_ansi_escape_sequences.feature
aruba-0.14.6 features/configuration/remove_ansi_escape_sequences.feature
aruba-0.14.5 features/configuration/remove_ansi_escape_sequences.feature
aruba-0.14.4 features/configuration/remove_ansi_escape_sequences.feature
aruba-0.14.3 features/configuration/remove_ansi_escape_sequences.feature
aruba-win-fix-0.14.2 features/configuration/remove_ansi_escape_sequences.feature
aruba-0.14.2 features/configuration/remove_ansi_escape_sequences.feature
aruba-0.14.1 features/configuration/remove_ansi_escape_sequences.feature
aruba-0.14.0 features/configuration/remove_ansi_escape_sequences.feature
aruba-0.13.0 features/configuration/remove_ansi_escape_sequences.feature
aruba-0.12.0 features/configuration/remove_ansi_escape_sequences.feature
aruba-0.11.2 features/configuration/remove_ansi_escape_sequences.feature
aruba-0.11.1 features/configuration/remove_ansi_escape_sequences.feature
aruba-0.11.0.pre4 features/configuration/remove_ansi_escape_sequences.feature
aruba-0.11.0.pre3 features/configuration/remove_ansi_escape_sequences.feature
aruba-0.11.0.pre2 features/configuration/remove_ansi_escape_sequences.feature
aruba-0.11.0.pre features/configuration/remove_ansi_escape_sequences.feature
aruba-0.10.2 features/configuration/remove_ansi_escape_sequences.feature