Sha256: bbbdef4d40175a8ac6514f305c1c356081ebb0b67447fe26d57648d436bbff4f

Contents?: true

Size: 458 Bytes

Versions: 24

Compression:

Stored size: 458 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_error(NotImplementedError)
    end
  end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
serverspec-2.37.2 spec/type/windows/group_spec.rb
serverspec-2.37.1 spec/type/windows/group_spec.rb
serverspec-2.37.0 spec/type/windows/group_spec.rb
serverspec-2.36.1 spec/type/windows/group_spec.rb