mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
ba8115a8f7
Much like rake can find its Rakefile even when run in a subdirectory, cap can now find its Capfile. Since cap is built on top of rake, this was really just restoring default behavior that was accidentally overridden. Also add a feature test to ensure it works.
9 lines
325 B
Gherkin
9 lines
325 B
Gherkin
Feature: cap can be run from a subdirectory, and will still find the Capfile
|
|
|
|
Background:
|
|
Given a test app with the default configuration
|
|
And servers with the roles app and web
|
|
|
|
Scenario: Running cap from a subdirectory
|
|
When I run cap "git:check" within the "config" directory
|
|
Then the task is successful
|