Sha256: ee9380c206d1b2a01c3a8ea476f8e9d53e5bbdbaf97e6fb7e8fea9935875d68c

Contents?: true

Size: 475 Bytes

Versions: 9

Compression:

Stored size: 475 Bytes

Contents

require 'spec_helper'

describe "ey rebuild" do
  given "integration"

  def command_to_run(opts)
    cmd = ["rebuild"]
    cmd << "--environment" << opts[:environment] if opts[:environment]
    cmd << "--account"     << opts[:account]     if opts[:account]
    cmd
  end

  def verify_ran(scenario)
    @out.should =~ /Updating instances on #{scenario[:account]} \/ #{scenario[:environment]}/
  end

  include_examples "it takes an environment name and an account name"
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
engineyard-3.1.2 spec/ey/rebuild_spec.rb
engineyard-3.1.1 spec/ey/rebuild_spec.rb
engineyard-3.1.0 spec/ey/rebuild_spec.rb
engineyard-3.0.1 spec/ey/rebuild_spec.rb
engineyard-3.0.0 spec/ey/rebuild_spec.rb
engineyard-2.3.3 spec/ey/rebuild_spec.rb
engineyard-2.3.2 spec/ey/rebuild_spec.rb
engineyard-2.3.1 spec/ey/rebuild_spec.rb
engineyard-2.3.0 spec/ey/rebuild_spec.rb