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