spec/solaris11/group_spec.rb in serverspec-1.9.0 vs spec/solaris11/group_spec.rb in serverspec-1.9.1
- old
+ new
@@ -2,10 +2,10 @@
include SpecInfra::Helper::Solaris11
describe group('root') do
it { should exist }
- its(:command) { should eq "getent group | grep -wq -- root" }
+ its(:command) { should eq "getent group root" }
end
describe group('invalid-group') do
it { should_not exist }
end