Sha256: 1e3a9a2a67d40f8f939114aaa7e58396b35a6862e1d298143df06689864e138b

Contents?: true

Size: 623 Bytes

Versions: 5

Compression:

Stored size: 623 Bytes

Contents

require File.expand_path("../base", __FILE__)

describe "vagrant version" do
  include_context "acceptance"

  it "prints the version to stdout" do
    result = execute("vagrant", "version")
    result.stdout.should match_output(:version, config.vagrant_version)
  end

  it "prints the version when called with '-v'" do
    result = execute("vagrant", "-v")
    result.stdout.should match_output(:version, config.vagrant_version)
  end

  it "prints the version when called with '--version'" do
    result = execute("vagrant", "--version")
    result.stdout.should match_output(:version, config.vagrant_version)
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
vagrantup-0.8.9 test/acceptance/version_test.rb
vagrantup-0.8.8 test/acceptance/version_test.rb
vagrantup-0.8.10 test/acceptance/version_test.rb
vagrant-0.8.10 test/acceptance/version_test.rb
vagrant-0.8.8 test/acceptance/version_test.rb