Sha256: a6f09e19a7d2a203dd924146cc5f8903f33c185857e0ece9cfe932e8921fe776

Contents?: true

Size: 414 Bytes

Versions: 3

Compression:

Stored size: 414 Bytes

Contents

When(/^I run cap "(.*?)"$/) do |task|
  @success, @output = TestApp.cap(task)
end

When(/^I run cap "(.*?)" within the "(.*?)" directory$/) do |task, directory|
  @success, @output = TestApp.cap(task, directory)
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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
capistrano-3.8.2 features/step_definitions/cap_commands.rb
capistrano-3.8.1 features/step_definitions/cap_commands.rb
capistrano-3.8.0 features/step_definitions/cap_commands.rb