Sha256: 4950cf789e05697e58285dfc91ef15874f8fde100a037319eaa301dc470b2b20

Contents?: true

Size: 336 Bytes

Versions: 2

Compression:

Stored size: 336 Bytes

Contents

require 'vagrant-guests-solaris11/cap/halt'
require 'spec_helper'

describe VagrantPlugins::GuestSolaris11::Cap::Halt do
  include_context 'machine'

  it "should halt guest using '/usr/sbin/shutdown -y -i5 -g0'" do
    communicate.should_receive(:sudo).with("/usr/sbin/shutdown -y -i5 -g0")
    described_class.halt(machine)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-guests-solaris11-0.0.1a spec/cap/halt_spec.rb
vagrant-guests-solaris11-0.0.1.dev spec/cap/halt_spec.rb