Sha256: 21150596c5183fb3d270c525f910fdd28c575f333313f0e02fb2d1de114d4de9

Contents?: true

Size: 306 Bytes

Versions: 1

Compression:

Stored size: 306 Bytes

Contents

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

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

  it "should halt guest using 'shutdown -hp now'" do
    communicate.should_receive(:sudo).with("shutdown -hp now")
    described_class.halt(machine)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-guests-openbsd-0.0.3 spec/cap/halt.rb