test_spec.rb 381 B

123456789101112131415161718192021222324
  1. require 'serverspec'
  2. # Required by serverspec
  3. set :backend, :exec
  4. describe group('group1') do
  5. it { should exist }
  6. it { should have_gid 5000 }
  7. end
  8. describe group('group2') do
  9. it { should exist }
  10. it { should have_gid 5001 }
  11. end
  12. describe group('group3') do
  13. it { should exist }
  14. it { should have_gid 5002 }
  15. end
  16. describe group('group4') do
  17. it { should_not exist }
  18. end