Sha256: 7dd1fc330e3fc705e602fb8d97bf7b057872c050d8b74a91b5bf871d8ce98f18

Contents?: true

Size: 904 Bytes

Versions: 5

Compression:

Stored size: 904 Bytes

Contents

Feature: Configure working directory of aruba

  As a developer
  I want to configure the working directory of aruba
  In order to have a test directory for each used spec runner - e.g. cucumber or rspec

  Background:
    Given I use the fixture "cli-app"
    And the default feature-test

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

  Scenario: Modify value
    Given a file named "features/support/aruba.rb" with:
    """
    Aruba.configure do |config|
      config.working_directory = 'tmp/cucumber'
    end
    """
    When I successfully run `cucumber`
    Then a directory named "tmp/cucumber" should exist

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
aruba-0.8.1 features/configuration/working_directory.feature
aruba-0.8.0 features/configuration/working_directory.feature
aruba-0.8.0.pre3 features/configuration/working_directory.feature
aruba-0.8.0.pre2 features/configuration/working_directory.feature
aruba-0.8.0.pre features/configuration/working_directory.feature