Sha256: 392a0dc88816038d8f5c5023bd73778e448ae5d836defe2f23905f68bbc05f02

Contents?: true

Size: 441 Bytes

Versions: 61

Compression:

Stored size: 441 Bytes

Contents

require 'spec_helper'

set :backend, :cmd

set :os, :family => 'windows'

describe group('test.group') do
  it { should exist }
end

describe group('test.domain\test.group') do
  it { should exist }
end

describe group('test.group') do
  it "should raise error if command is not supported" do 
    {
      :have_gid => [nil],
    }.each do |method, args|
      expect { should self.send(method, *args) }.to raise_exception
    end
  end
end

Version data entries

61 entries across 61 versions & 3 rubygems

Version Path
serverspec-2.0.0.beta20 spec/type/windows/group_spec.rb