Sha256: 3daf8e9247602d6ffc4611fcdd8d12523df6b6ae291c3636d049019f06f730d7

Contents?: true

Size: 784 Bytes

Versions: 5

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 output 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 output should contain ".rspec file already exists, so nothing was changed."

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
messagebus_ruby_api-0.4.7 spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/command_line/configure.feature
messagebus_ruby_api-0.4.4 spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/command_line/configure.feature
rspec-core-2.5.2 features/command_line/configure.feature
rspec-core-2.5.1 features/command_line/configure.feature
rspec-core-2.5.0 features/command_line/configure.feature