Sha256: e75e8ec68a7cd733d834d25dbad7731abb296327d71823f7bf367e6ead5f325f

Contents?: true

Size: 424 Bytes

Versions: 5

Compression:

Stored size: 424 Bytes

Contents

require 'spec_helper'

set :os, :family => 'base'

describe commands.command_class('group').create do
  it { should be_an_instance_of(Specinfra::Command::Base::Group) }
end

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

describe group('invalid-group') do
  it { should_not exist }
end

describe group('root') do
  it { should have_gid 0 }
end

describe group('root') do
  it { should_not have_gid 'invalid-gid' }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
serverspec-2.0.0.beta13 spec/type/base/group_spec.rb
serverspec-2.0.0.beta12 spec/type/base/group_spec.rb
serverspec-2.0.0.beta11 spec/type/base/group_spec.rb
serverspec-2.0.0.beta10 spec/type/base/group_spec.rb
serverspec-2.0.0.beta9 spec/type/base/group_spec.rb