Sha256: 5d76499e2c5566eff6a26e5c76602c4638e0a53f8808515e9fab38ff7b82e9a4

Contents?: true

Size: 572 Bytes

Versions: 4

Compression:

Stored size: 572 Bytes

Contents

require 'acceptance_spec_helper'

feature "Location on remote host" do
  scenario "Override default location for server through --directory flag" do
    create_config <<-CONFIG
      project :slots do
        environment :staging do
          server do
            location '/var/foo'
            host "1.2.3.4"
          end
        end
      end
    CONFIG

    run "taketo slots:staging --dry-run --directory /var/www"
    stdout.should == %q{ssh -t 1.2.3.4 "cd /var/www; RAILS_ENV=staging bash"}
    stderr.should be_empty
    exit_status.should be_success
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
taketo-0.3.1 spec/acceptance/location_spec.rb
taketo-0.3.0 spec/acceptance/location_spec.rb
taketo-0.2.0 spec/acceptance/location_spec.rb
taketo-0.2.0.alpha spec/acceptance/location_spec.rb