Sha256: 92d2f8278db0ffb781c099f227e0bfa45eae0e08236b2b2a2776da699697740b

Contents?: true

Size: 971 Bytes

Versions: 5

Compression:

Stored size: 971 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_config.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_config.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

5 entries across 5 versions & 1 rubygems

Version Path
aruba-0.14.14 features/02_configure_aruba/log_level.feature
aruba-0.14.13 features/02_configure_aruba/log_level.feature
aruba-0.14.12 features/02_configure_aruba/log_level.feature
aruba-0.14.11 features/02_configure_aruba/log_level.feature
aruba-0.14.10 features/02_configure_aruba/log_level.feature