Sha256: 8453560604806800c82d2c982607d61ca366f0eb8f2d802a95ca4bd3a7f9080f

Contents?: true

Size: 554 Bytes

Versions: 10

Compression:

Stored size: 554 Bytes

Contents

require 'spec_helper'

describe "ey timeout-deploy" do
  given "integration"

  it "timeouts the last deployment" do
    login_scenario "Stuck Deployment"
    fast_ey %w[timeout-deploy]
    expect(@out).to match(/Marking last deployment failed.../)
    expect(@out).to match(/Finished at:\s+\w+/)
  end

  it "complains when there is no stuck deployment" do
    login_scenario "one app, one environment"
    fast_failing_ey ["timeout-deploy"]
    expect(@err).to include(%|No unfinished deployment was found for main / rails232app / giblets.|)
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
crazy-yard-3.2.2 spec/ey/timeout_deploy_spec.rb
engineyard-3.2.5 spec/ey/timeout_deploy_spec.rb
engineyard-3.2.4 spec/ey/timeout_deploy_spec.rb
engineyard-3.2.3 spec/ey/timeout_deploy_spec.rb
engineyard-4.0.0.pre3 spec/ey/timeout_deploy_spec.rb
engineyard-4.0.0.pre2 spec/ey/timeout_deploy_spec.rb
engineyard-4.0.0.pre1 spec/ey/timeout_deploy_spec.rb
engineyard-3.2.1 spec/ey/timeout_deploy_spec.rb
engineyard-3.2.0 spec/ey/timeout_deploy_spec.rb
engineyard-3.1.3 spec/ey/timeout_deploy_spec.rb