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.42.3 spec/type/windows/group_spec.rb
serverspec-2.42.2 spec/type/windows/group_spec.rb
serverspec-2.42.1 spec/type/windows/group_spec.rb
serverspec-cem-acpt-2.42.0 spec/type/windows/group_spec.rb
serverspec-2.42.0 spec/type/windows/group_spec.rb
serverspec-2.41.8 spec/type/windows/group_spec.rb
serverspec-2.41.7 spec/type/windows/group_spec.rb
serverspec-2.41.6 spec/type/windows/group_spec.rb
serverspec-2.41.5 spec/type/windows/group_spec.rb
serverspec-2.41.4 spec/type/windows/group_spec.rb
serverspec-2.41.3 spec/type/windows/group_spec.rb
serverspec-2.41.2 spec/type/windows/group_spec.rb
serverspec-2.41.1 spec/type/windows/group_spec.rb
serverspec-2.41.0 spec/type/windows/group_spec.rb
serverspec-2.40.0 spec/type/windows/group_spec.rb
serverspec-2.39.2 spec/type/windows/group_spec.rb
serverspec-2.39.1 spec/type/windows/group_spec.rb
serverspec-2.39.0 spec/type/windows/group_spec.rb
serverspec-2.38.1 spec/type/windows/group_spec.rb
serverspec-2.38.0 spec/type/windows/group_spec.rb