Sha256: a78747381d71bece645193730c829a75dbba6d6d0c45677b1f536993a9106160

Contents?: true

Size: 602 Bytes

Versions: 27

Compression:

Stored size: 602 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

When(/^I rollback to a specific release$/) do
  @rollback_release = @release_paths.first.split("/").last

  step %Q{I run cap "deploy:rollback ROLLBACK_RELEASE=#{@rollback_release}"}
end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
capistrano-3.19.2 features/step_definitions/cap_commands.rb
capistrano-3.19.1 features/step_definitions/cap_commands.rb
capistrano-3.19.0 features/step_definitions/cap_commands.rb
capistrano-3.18.1 features/step_definitions/cap_commands.rb
honeybadger-5.4.0 vendor/bundle/ruby/3.2.0/gems/capistrano-3.18.0/features/step_definitions/cap_commands.rb
honeybadger-5.3.0 vendor/bundle/ruby/3.2.0/gems/capistrano-3.18.0/features/step_definitions/cap_commands.rb
capistrano-3.18.0 features/step_definitions/cap_commands.rb
capistrano-3.17.3 features/step_definitions/cap_commands.rb
capistrano-3.17.2 features/step_definitions/cap_commands.rb
capistrano-3.17.1 features/step_definitions/cap_commands.rb
capistrano-3.17.0 features/step_definitions/cap_commands.rb
capistrano-3.16.0 features/step_definitions/cap_commands.rb
capistrano-3.15.0 features/step_definitions/cap_commands.rb
capistrano-3.14.1 features/step_definitions/cap_commands.rb
capistrano-3.14.0 features/step_definitions/cap_commands.rb
capistrano-3.13.0 features/step_definitions/cap_commands.rb
capistrano-3.12.1 features/step_definitions/cap_commands.rb
capistrano-3.12.0 features/step_definitions/cap_commands.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/capistrano-3.11.0/features/step_definitions/cap_commands.rb
capistrano-3.11.2 features/step_definitions/cap_commands.rb