Sha256: 7a334c5cb3549f6c59ccd6ff98d7f03297d5155cf8af5df63d267ddda55e077f

Contents?: true

Size: 317 Bytes

Versions: 5

Compression:

Stored size: 317 Bytes

Contents

require 'spec_helper'

set :os, :family => 'solaris'

describe commands.command_class('group').create do
  it { should be_an_instance_of(Specinfra::Command::Solaris::Base::Group) }
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/solaris/group_spec.rb
serverspec-2.0.0.beta12 spec/type/solaris/group_spec.rb
serverspec-2.0.0.beta11 spec/type/solaris/group_spec.rb
serverspec-2.0.0.beta10 spec/type/solaris/group_spec.rb
serverspec-2.0.0.beta9 spec/type/solaris/group_spec.rb