Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 691 Bytes
Feature: configure
Use --configure to generate configuration files.
Currently, the only supported argument is "autotest", which creates
a autotest/discover.rb file in your project root directory.
Given a directory named "rspec_project"
And I cd to "rspec_project"
Scenario: generate autotest directory and discover file
When I run "rspec --configure autotest"
Then the following directories should exist:
| autotest |
And the following files should exist:
| autotest/discover.rb |
And the file "autotest/discover.rb" should contain "Autotest.add_discovery"
And the stdout should contain "autotest/discover.rb has been added"
Jump to Line
Something went wrong with that request. Please try again.