Sha256: e5d9f768e08a3ea73e377c440d63e11bf739c45cd21b90799185a9bc9340a730

Contents?: true

Size: 415 Bytes

Versions: 10

Compression:

Stored size: 415 Bytes

Contents

Feature: Reset configuration

  You can reset the configuration to its defaults.

  Scenario: Write to $stdout
    Given a file with:
      """
      require "cute_print"

      CutePrint.configure { |c| c.out = $stdout }
      q "abc"
      CutePrint.configure { |c| c.reset }
      q 123
      """
    Then stdout should be
      """
      "abc"

      """
    And stderr should be
      """
      123

      """

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
cute_print-1.1.4 features/configuring/reset_configuration.feature
cute_print-1.1.3 features/configuring/reset_configuration.feature
cute_print-1.1.2 features/configuring/reset_configuration.feature
cute_print-1.1.1 features/configuring/reset_configuration.feature
cute_print-1.1.0 features/configuring/reset_configuration.feature
cute_print-1.0.1 features/configuring/reset_configuration.feature
cute_print-1.0.0 features/configuring/reset_configuration.feature
cute_print-0.4.0 features/configuring/reset_configuration.feature
cute_print-0.3.0 features/configuring/reset_configuration.feature
cute_print-0.2.0 features/configuring/reset_configuration.feature