Sha256: d6e7b764fa3c08315d675d9797202e63cbbb7ea1494afdfd08a51b52b906de48

Contents?: true

Size: 779 Bytes

Versions: 32

Compression:

Stored size: 779 Bytes

Contents

require 'spec_helper'

describe "Deploying a simple application" do
  before(:all) do
    deploy_test_application('not_bundled')
  end

  it "creates a REVISION file" do
    expect(deploy_dir.join('current', 'REVISION')).to exist
  end

  it "restarts the app servers" do
    restart = deploy_dir.join('current', 'restart')
    expect(restart).to exist
    expect(restart.read.chomp).to eq(%|LANG="en_US.UTF-8" /engineyard/bin/app_rails31 deploy|)
  end

  it "reuses the same active_release directory if a release_path is specified (such as in integrate)" do
    path = @config.paths.active_release
    expect(path.parent.children.size).to eq(1)

    redeploy_test_application('config' => {'release_path' => path.to_s})

    expect(path.parent.children.size).to eq(1)
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
engineyard-serverside-2.8.0.pre4 spec/basic_deploy_spec.rb
engineyard-serverside-2.8.0.pre spec/basic_deploy_spec.rb
engineyard-serverside-2.6.17 spec/basic_deploy_spec.rb
engineyard-serverside-2.6.15.pre spec/basic_deploy_spec.rb
engineyard-serverside-2.6.14 spec/basic_deploy_spec.rb
engineyard-serverside-2.6.13 spec/basic_deploy_spec.rb
engineyard-serverside-2.6.12 spec/basic_deploy_spec.rb
engineyard-serverside-2.6.12.prewut5 spec/basic_deploy_spec.rb
engineyard-serverside-2.6.12.prewut4 spec/basic_deploy_spec.rb
engineyard-serverside-2.6.12.prewut3 spec/basic_deploy_spec.rb
engineyard-serverside-2.6.12.prewut2 spec/basic_deploy_spec.rb
engineyard-serverside-2.6.12.prewut1 spec/basic_deploy_spec.rb
engineyard-serverside-2.6.12.prewut0 spec/basic_deploy_spec.rb
engineyard-serverside-2.6.11 spec/basic_deploy_spec.rb
engineyard-serverside-2.6.10 spec/basic_deploy_spec.rb
engineyard-serverside-2.6.9pre3 spec/basic_deploy_spec.rb
engineyard-serverside-2.6.9pre2 spec/basic_deploy_spec.rb
engineyard-serverside-2.6.9pre1 spec/basic_deploy_spec.rb
engineyard-serverside-2.6.8 spec/basic_deploy_spec.rb
engineyard-serverside-2.6.8pre2 spec/basic_deploy_spec.rb