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