mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
816b137930
To show all tasks decalred in default config and stages files was missed from the tasks list. Added default value for :stage and load all default configs. Also added cucumber tests.
12 lines
272 B
Ruby
12 lines
272 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, @output = TestApp.run(command)
|
|
end
|
|
|