Sha256: 72ae7a6d3318640d2b229192b8178408b16896229fc5f1149718661725b97407
Contents?: true
Size: 945 Bytes
Versions: 1
Compression:
Stored size: 945 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: """ Aruba.configure do |config| puts %(The default value is "#{config.log_level}") end """ When I successfully run `cucumber` Then the output should contain: """ The default value is "info" """ Scenario: Modify value Given a file named "features/support/aruba.rb" with: """ 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aruba-0.9.0.pre | features/configuration/log_level.feature |