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.24.0 spec/type/windows/group_spec.rb
serverspec-2.23.1 spec/type/windows/group_spec.rb
serverspec-2.23.0 spec/type/windows/group_spec.rb
serverspec-2.22.0 spec/type/windows/group_spec.rb
serverspec-2.21.1 spec/type/windows/group_spec.rb
serverspec-2.21.0 spec/type/windows/group_spec.rb
serverspec-2.20.0 spec/type/windows/group_spec.rb
serverspec-2.19.0 spec/type/windows/group_spec.rb
serverspec-2.18.0 spec/type/windows/group_spec.rb
serverspec-2.17.1 spec/type/windows/group_spec.rb
serverspec-2.17.0 spec/type/windows/group_spec.rb
serverspec-2.16.0 spec/type/windows/group_spec.rb
serverspec-2.15.0 spec/type/windows/group_spec.rb
serverspec-2.14.1 spec/type/windows/group_spec.rb
serverspec-2.14.0 spec/type/windows/group_spec.rb
serverspec-2.13.0 spec/type/windows/group_spec.rb
serverspec-2.12.0 spec/type/windows/group_spec.rb
serverspec-2.11.0 spec/type/windows/group_spec.rb
serverspec-2.10.2 spec/type/windows/group_spec.rb
serverspec-2.10.1 spec/type/windows/group_spec.rb