Sha256: 375131d056b2c7baaca3c4aecb3ce56796e5aee1d0b697a1c8ad125e97a1d7e1

Contents?: true

Size: 957 Bytes

Versions: 26

Compression:

Stored size: 957 Bytes

Contents

Feature: Configure Log level of aruba logger

  As a developer
  I want to configure the level of information put to output by logger
  In order to modify the amount of information

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

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

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

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

Version data entries

26 entries across 26 versions & 2 rubygems

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