Sha256: df2b8caecd20c466cf56e75caa0f2d11d4bdf028aaaabe14d2f8fa21ae57ad69

Contents?: true

Size: 570 Bytes

Versions: 5

Compression:

Stored size: 570 Bytes

Contents

require 'spec_helper'

describe "ey web enable" do
  given "integration"

  def command_to_run(opts)
    cmd = "web enable"
    cmd << " -e #{opts[:env]}" if opts[:env]
    cmd << " -a #{opts[:app]}" if opts[:app]
    cmd << " --verbose" if opts[:verbose]
    cmd
  end

  def verify_ran(scenario)
    @ssh_commands.should have_command_like(/eysd.*deploy disable_maintenance_page.*--app #{scenario[:application]}/)
  end

  it_should_behave_like "it takes an environment name"
  it_should_behave_like "it takes an app name"
  it_should_behave_like "it invokes eysd"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
engineyard-0.9.0 spec/ey/web/enable_spec.rb
engineyard-0.8.2 spec/ey/web/enable_spec.rb
engineyard-0.8.1 spec/ey/web/enable_spec.rb
engineyard-0.8.0 spec/ey/web/enable_spec.rb
engineyard-0.7.1 spec/ey/web/enable_spec.rb