Sha256: 9b3f83a14ffc8b7af494a3f9b289ba7a66cb99a792a314d9dca323e74f12cfcf
Contents?: true
Size: 474 Bytes
Versions: 1
Compression:
Stored size: 474 Bytes
Contents
require 'spec_helper' set :os, { :family => nil } describe get_command(:get_group_gid, 'foo') do it { should eq "getent group foo | cut -f 3 -d ':'" } end describe get_command(:update_group_gid, 'foo', 1234) do it { should eq "groupmod -g 1234 foo" } end describe get_command(:add_group, 'foo', :gid => 1234) do it { should eq 'groupadd -g 1234 foo' } end describe get_command(:add_group, 'foo', :system_group => true) do it { should eq 'groupadd -r foo' } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
specinfra-2.80.0 | spec/command/base/group_spec.rb |