Sha256: f4e50246a64ee6aaa1434f97bc157920b7e1c7adbfe7aef46c1fa1bdcf86f1f2

Contents?: true

Size: 255 Bytes

Versions: 96

Compression:

Stored size: 255 Bytes

Contents

require "vagrant-spec/subprocess"

describe Vagrant::Spec::Subprocess do
  it "should run and return output" do
    result = described_class.execute("echo", "foo")
    expect(result.stdout).to eql("foo\n")
    expect(result.exit_code).to eql(0)
  end
end

Version data entries

96 entries across 29 versions & 2 rubygems

Version Path
vagrant-unbundled-2.1.4.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-94a9d31ba18b/spec/subprocess_spec.rb
vagrant-unbundled-2.1.4.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-f3daedaac493/spec/subprocess_spec.rb
vagrant-unbundled-2.1.2.0 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-spec-94a9d31ba18b/spec/subprocess_spec.rb
vagrant-unbundled-2.1.1.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-f3daedaac493/spec/subprocess_spec.rb
vagrant-unbundled-2.0.4.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-f3daedaac493/spec/subprocess_spec.rb
vagrant-unbundled-2.0.3.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-f3daedaac493/spec/subprocess_spec.rb
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-af86757912f7/spec/subprocess_spec.rb
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-af86757912f7/spec/subprocess_spec.rb
vagrant-unbundled-2.0.1.0 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-af86757912f7/spec/subprocess_spec.rb
vagrant-unbundled-2.0.0.1 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-af86757912f7/spec/subprocess_spec.rb
vagrant-unbundled-1.9.8.1 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-af86757912f7/spec/subprocess_spec.rb
vagrant-unbundled-1.9.7.1 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-af86757912f7/spec/subprocess_spec.rb
vagrant-unbundled-1.9.5.1 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/spec/subprocess_spec.rb
vagrant-unbundled-1.9.5.1 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-1d09951eaef3/spec/subprocess_spec.rb
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/spec/subprocess_spec.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-spec-1df5a3af81cb/spec/subprocess_spec.rb