Sha256: ebad1941e992912895aa953cbb32875fd397e3af63c79ef9d158b342e3183886

Contents?: true

Size: 298 Bytes

Versions: 1

Compression:

Stored size: 298 Bytes

Contents

require 'spec_helper'
require 'vagrant-guests-openbsd/guest'

describe VagrantPlugins::GuestOpenBSD::Guest do
  include_context 'machine'

  it "should be detected with OpenBSD" do
    expect(communicate).to receive(:test).with('[ "$(uname -s)" = "OpenBSD" ]')
    guest.detect?(machine)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-guests-openbsd-0.0.3 spec/guest_spec.rb