spec/sprinkle/verify_spec.rb in sprinkle-0.7.1.1 vs spec/sprinkle/verify_spec.rb in sprinkle-0.7.2
- old
+ new
@@ -22,13 +22,10 @@
test "`version` == \"one\""
# Check for a user
has_user "bob"
- # Check for user with old API
- user_present "someuser"
-
# Check for user in a group
has_user "alf", :in_group => "alien"
# Check for a group
has_group "bobgroup"
@@ -97,13 +94,9 @@
it 'should use id to check for user' do
@verification.commands.should include('id bob')
end
- it 'should use id to check for user via user_present' do
- @verification.commands.should include('id someuser')
- end
-
it 'should use id to check for group' do
@verification.commands.should include('id -g bobgroup')
end
it 'should do a "test -L" to check something is a symbolic link' do