spec/gentoo/commands_spec.rb in serverspec-0.2.3 vs spec/gentoo/commands_spec.rb in serverspec-0.2.4
- old
+ new
@@ -95,5 +95,9 @@
end
describe commands.check_iptables_rule('-P INPUT ACCEPT', 'mangle', 'INPUT') do
it { should eq "iptables -t mangle -S INPUT | grep '\\-P INPUT ACCEPT'" }
end
+
+describe commands.get_mode('/dev') do
+ it { should eq 'stat -c %a /dev' }
+end