Sha256: 7a9061509494d66883f59731606e6bdaa2f5da591b95c804731d0cb5ee0dab88

Contents?: true

Size: 785 Bytes

Versions: 25

Compression:

Stored size: 785 Bytes

Contents

require "vagrant-spec"

describe "vagrant orchestrate prompt", component: "orchestrate/prompt" do
  include_context "acceptance"

  before do
    environment.skeleton("prompt")
  end

  # Vagrant throws with the error message below if a prompt is encountered. We need
  # to make sure that non-push commands don't prompt
  # Vagrant is attempting to interface with the UI in a way that requires
  #     a TTY. Most actions in Vagrant that require a TTY have configuration
  #     switches to disable this requirement. Please do that or run Vagrant
  #     with TTY.
  it "doesn't prompt with non-push commands" do
    assert_execute("vagrant", "status")
  end

  # TODO: I wish there was a way to simulate prompting, but for now, that is left
  # to the user as a manual exercise.
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
vagrant-orchestrate-0.8.0 acceptance/command/prompt_spec.rb
vagrant-orchestrate-0.8.0.pre.3 acceptance/command/prompt_spec.rb
vagrant-orchestrate-0.8.0.pre.2 acceptance/command/prompt_spec.rb
vagrant-orchestrate-0.8.0.pre.1 acceptance/command/prompt_spec.rb
vagrant-orchestrate-0.7.2 acceptance/command/prompt_spec.rb
vagrant-orchestrate-0.7.1 acceptance/command/prompt_spec.rb
vagrant-orchestrate-0.7.0 acceptance/command/prompt_spec.rb
vagrant-orchestrate-0.7.0.pre.5 acceptance/command/prompt_spec.rb
vagrant-orchestrate-0.7.0.pre.4 acceptance/command/prompt_spec.rb
vagrant-orchestrate-0.7.0.pre.3 acceptance/command/prompt_spec.rb
vagrant-orchestrate-0.7.0.pre.2 acceptance/command/prompt_spec.rb
vagrant-orchestrate-0.7.0.pre.1 acceptance/command/prompt_spec.rb
vagrant-orchestrate-0.7.0.pre acceptance/command/prompt_spec.rb
vagrant-orchestrate-0.6.5 acceptance/command/prompt_spec.rb
vagrant-orchestrate-0.6.3 acceptance/command/prompt_spec.rb
vagrant-orchestrate-0.6.2 acceptance/command/prompt_spec.rb
vagrant-orchestrate-0.6.1 acceptance/command/prompt_spec.rb
vagrant-orchestrate-0.6.1.patch acceptance/command/prompt_spec.rb
vagrant-orchestrate-0.6.0 acceptance/command/prompt_spec.rb
vagrant-orchestrate-0.5.3 acceptance/command/prompt_spec.rb