Sha256: 5777152d84e332c802bc2532bb92c9a8c2ea3e93d9083359940f7ecb1a41af19

Contents?: true

Size: 784 Bytes

Versions: 1

Compression:

Stored size: 784 Bytes

Contents

Feature: --configure option

  Use the --configure option on the command line to generate configuration
  files.

  The only supported argument, so far, is "autotest", which creates a .rspec
  file in your project root directory. When autotest sees this file, it knows
  to load RSpec's Autotest subclass.

  Scenario: generate .rspec file for autotest
    When I run "rspec --configure autotest"
    Then the following files should exist:
      | .rspec |
    And the stdout should contain ".rspec file did not exist, so it was created."

  Scenario: .rspec file already exists
    Given a file named ".rspec" with:
      """
      --color
      """
    When I run "rspec --configure autotest"
    Then the stdout should contain ".rspec file already exists, so nothing was changed."

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspec-core-2.4.0 features/command_line/configure.feature