Sha256: a678c8dff951fc50989d04311991fea13c4489f070b23c9c63acebccc6f4dd08

Contents?: true

Size: 367 Bytes

Versions: 251

Compression:

Stored size: 367 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

Version data entries

251 entries across 251 versions & 3 rubygems

Version Path
specinfra-2.79.0 spec/command/base/group_spec.rb
specinfra-2.78.2 spec/command/base/group_spec.rb
specinfra-2.78.1 spec/command/base/group_spec.rb
specinfra-2.78.0 spec/command/base/group_spec.rb
specinfra-2.77.3 spec/command/base/group_spec.rb
specinfra-2.77.2 spec/command/base/group_spec.rb
specinfra-2.77.1 spec/command/base/group_spec.rb
specinfra-2.77.0 spec/command/base/group_spec.rb
specinfra-2.76.9 spec/command/base/group_spec.rb
specinfra-2.76.8 spec/command/base/group_spec.rb
specinfra-2.76.7 spec/command/base/group_spec.rb
specinfra-2.76.6 spec/command/base/group_spec.rb
specinfra-2.76.5 spec/command/base/group_spec.rb
specinfra-2.76.4 spec/command/base/group_spec.rb
specinfra-2.76.3 spec/command/base/group_spec.rb
specinfra-2.76.2 spec/command/base/group_spec.rb
specinfra-2.76.1 spec/command/base/group_spec.rb
specinfra-2.76.0 spec/command/base/group_spec.rb
specinfra-2.75.1 spec/command/base/group_spec.rb
specinfra-rb19-2.44.7 spec/command/base/group_spec.rb