Sha256: 3d28e740ad3463319da26a37f414009b30f7b424109bb4b9fc082141058f907a

Contents?: true

Size: 1 KB

Versions: 5

Compression:

Stored size: 1 KB

Contents

Feature: Configure the aruba console history file

  As a developer
  I want to configure the history file of aruba console
  In order to have a better isolation of tests

  Background:
    Given I use the fixture "cli-app"

  Scenario: Default value
    Given a file named "features/support/aruba_config.rb" with:
    """
    Aruba.configure do |config|
      puts %(The default value is "#{config.console_history_file}")
    end
    """
    When I successfully run `cucumber`
    Then the output should contain:
    """
    The default value is "~/.aruba_history"
    """

  Scenario: Set some value
    Given a file named "features/support/aruba_config.rb" with:
    """
    Aruba.configure do |config|
      config.console_history_file = '~/.config/aruba/history.txt'
    end

    Aruba.configure do |config|
      puts %(The value is "#{config.console_history_file}")
    end
    """
    Then I successfully run `cucumber`
    Then the output should contain:
    """
    The value is "~/.config/aruba/history.txt"
    """

Version data entries

5 entries across 5 versions & 1 rubygems

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