summaryrefslogtreecommitdiff
path: root/spec/unit/agent/locker_spec.rb
diff options
context:
space:
mode:
authorStig Sandbeck Mathisen <ssm@debian.org>2012-01-26 11:22:40 +0100
committerStig Sandbeck Mathisen <ssm@debian.org>2012-01-26 11:22:40 +0100
commitc17b3ba16e7013f06416f10b8752ef783f048717 (patch)
tree790f13f167199b954007e17d1c55a8d1b0218775 /spec/unit/agent/locker_spec.rb
parent32af6143486ceb24a93636445d1883f5fe2299d7 (diff)
downloadpuppet-upstream/2.7.10.tar.gz
Imported Upstream version 2.7.10upstream/2.7.10
Diffstat (limited to 'spec/unit/agent/locker_spec.rb')
-rwxr-xr-xspec/unit/agent/locker_spec.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/unit/agent/locker_spec.rb b/spec/unit/agent/locker_spec.rb
index 341859e3b..9b530c0d8 100755
--- a/spec/unit/agent/locker_spec.rb
+++ b/spec/unit/agent/locker_spec.rb
@@ -29,18 +29,6 @@ describe Puppet::Agent::Locker do
@locker.lockfile.should equal(@locker.lockfile)
end
- it "should use the lock file to anonymously lock the process when disabled" do
- @locker.lockfile.expects(:lock).with(:anonymous => true)
-
- @locker.disable
- end
-
- it "should use the lock file to anonymously unlock the process when enabled" do
- @locker.lockfile.expects(:unlock).with(:anonymous => true)
-
- @locker.enable
- end
-
it "should have a method that yields when a lock is attained" do
@locker.lockfile.expects(:lock).returns true