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-ruby19-2.24.3 spec/type/windows/group_spec.rb
serverspec-2.36.0 spec/type/windows/group_spec.rb
serverspec-2.35.0 spec/type/windows/group_spec.rb
serverspec-2.34.0 spec/type/windows/group_spec.rb
serverspec-2.33.0 spec/type/windows/group_spec.rb
serverspec-2.32.0 spec/type/windows/group_spec.rb
serverspec-2.31.1 spec/type/windows/group_spec.rb
serverspec-2.31.0 spec/type/windows/group_spec.rb
serverspec-2.30.1 spec/type/windows/group_spec.rb
serverspec-2.30.0 spec/type/windows/group_spec.rb
serverspec-2.29.2 spec/type/windows/group_spec.rb
serverspec-2.29.1 spec/type/windows/group_spec.rb
serverspec-2.29.0 spec/type/windows/group_spec.rb
serverspec-2.28.0 spec/type/windows/group_spec.rb
serverspec-2.27.0 spec/type/windows/group_spec.rb
serverspec-2.26.0 spec/type/windows/group_spec.rb
serverspec-2.25.0 spec/type/windows/group_spec.rb
serverspec-2.24.3 spec/type/windows/group_spec.rb
serverspec-2.24.2 spec/type/windows/group_spec.rb
serverspec-2.24.1 spec/type/windows/group_spec.rb