/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
- Feature: --init option
- Use the --init option on the command line to generate conventional
- files for an rspec project.
- Scenario: generate .rspec
- When I run `rspec --init`
- Then the following files should exist:
- | .rspec |
- And the output should contain "create .rspec"
- Scenario: .rspec file already exists
- Given a file named ".rspec" with:
- """
- --color
- """
- When I run `rspec --init`
- Then the output should contain "exist .rspec"