Sha256: e1feeff41947579cb0c65d2099f39a3ce4bbb27e11d91eccbce3d926d84db773

Contents?: true

Size: 884 Bytes

Versions: 4

Compression:

Stored size: 884 Bytes

Contents

Feature: Configure directory where to look for fixtures

  As a developer
  I want to configure the directory where aruba looks for fixtures
  In order to use them in my tests

  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 "%w(#{config.fixtures_directories.join(" ")})")
    end
    """
    When I successfully run `cucumber`
    Then the output should contain:
    """
    The default value is "%w(features/fixtures spec/fixtures test/fixtures)"
    """

  Scenario: Modify value
    Given a file named "features/support/aruba.rb" with:
    """
    Aruba.configure do |config|
      config.fixtures_directories = %w(spec/fixtures)
    end
    """
    When I successfully run `cucumber`

Version data entries

4 entries across 4 versions & 1 rubygems

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