PageRenderTime 10ms CodeModel.GetById 6ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/vendor/bundle/jruby/2.1/gems/rspec-core-2.14.8/features/command_line/init.feature

https://github.com/delowong/logstash
Gherkin Specification | 18 lines | 15 code | 3 blank | 0 comment | 0 complexity | 2283935f5a2cd2caa857baf53f224d86 MD5 | raw file
 1Feature: --init option
 2
 3  Use the --init option on the command line to generate conventional
 4  files for an rspec project.
 5
 6  Scenario: generate .rspec
 7    When I run `rspec --init`
 8    Then the following files should exist:
 9      | .rspec |
10    And the output should contain "create   .rspec"
11
12  Scenario: .rspec file already exists
13    Given a file named ".rspec" with:
14      """
15      --color
16      """
17    When I run `rspec --init`
18    Then the output should contain "exist   .rspec"