mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
d8b9b695bb
This change allows both the `deploy_config_path` and `stage_config_path` to be moved from the default locations of `config/deploy.rb` and `config/deploy` respectively. These values __must__ be set in the `Capfile` prior to `capistrano/setup` being called, for example: set :deploy_config_path, 'app/config/deploy.rb' set :stage_config_path, 'app/config/deploy' # Load DSL and Setup Up Stages require 'capistrano/setup' Fixes #610
15 lines
509 B
Gherkin
15 lines
509 B
Gherkin
Feature: The path to the configuration can be changed, removing the need to
|
|
follow Ruby/Rails conventions
|
|
|
|
Background:
|
|
Given a test app with the default configuration
|
|
And servers with the roles app and web
|
|
|
|
Scenario: Deploying with configuration in default location
|
|
When I run "cap test"
|
|
Then the task is successful
|
|
|
|
Scenario: Deploying with configuration in a custom location
|
|
But the configuration is in a custom location
|
|
When I run "cap test"
|
|
Then the task is successful
|