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
12 lines
263 B
Ruby
12 lines
263 B
Ruby
When(/^I run cap "(.*?)"$/) do |task|
|
|
@success = TestApp.cap(task)
|
|
end
|
|
|
|
When(/^I run cap "(.*?)" as part of a release$/) do |task|
|
|
TestApp.cap("deploy:new_release_path #{task}")
|
|
end
|
|
|
|
When(/^I run "(.*?)"$/) do |command|
|
|
@success = TestApp.run(command)
|
|
end
|
|
|