spec/gentoo/commands_spec.rb in serverspec-0.2.9 vs spec/gentoo/commands_spec.rb in serverspec-0.2.10
- old
+ new
@@ -85,10 +85,10 @@
describe commands.check_installed_by_gem('jekyll') do
it { should eq 'gem list --local | grep \'^jekyll \'' }
end
describe commands.check_belonging_group('root', 'wheel') do
- it { should eq "id root | awk '{print $2}' | grep wheel" }
+ it { should eq "id root | awk '{print $3}' | grep wheel" }
end
describe commands.check_iptables_rule('-P INPUT ACCEPT') do
it { should eq "iptables -S | grep '\\-P INPUT ACCEPT'" }
end