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