File: group_spec.rb

package info (click to toggle)
ruby-serverspec 2.42.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 980 kB
  • sloc: ruby: 4,835; makefile: 4
file content (16 lines) | stat: -rw-r--r-- 248 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'spec_helper'

set :os, :family => 'base'

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

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

describe group('root') do
  its(:gid) { should == 0 }
  its(:gid) { should < 10 }
end