summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2013-09-16 09:57:30 -0700
committerJohn Keiser <jkeiser@opscode.com>2013-09-16 09:57:30 -0700
commita2e0493968d8bdec76b3ec99a34203d80485384c (patch)
treea548e750502a218186d08527a511e2eafc63d5ba
parent04e30daab94a6c1e5c2e28efb3691afdd48ed3f2 (diff)
downloadchef-a2e0493968d8bdec76b3ec99a34203d80485384c.tar.gz
Delete config variable :after setting it
-rw-r--r--spec/support/shared/functional/file_resource.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/shared/functional/file_resource.rb b/spec/support/shared/functional/file_resource.rb
index 28d32d07d0..2f49966db0 100644
--- a/spec/support/shared/functional/file_resource.rb
+++ b/spec/support/shared/functional/file_resource.rb
@@ -25,6 +25,7 @@ shared_context "deploying with move" do
after do
Chef::Config.delete(:file_staging_uses_destdir)
Chef::Config.delete(:file_backup_path)
+ Chef::Config.delete(:file_atomic_update)
end
end
@@ -37,6 +38,7 @@ shared_context "deploying with copy" do
after do
Chef::Config.delete(:file_staging_uses_destdir)
Chef::Config.delete(:file_backup_path)
+ Chef::Config.delete(:file_atomic_update)
end
end
@@ -49,6 +51,7 @@ shared_context "deploying via tmpdir" do
after do
Chef::Config.delete(:file_staging_uses_destdir)
Chef::Config.delete(:file_backup_path)
+ Chef::Config.delete(:file_atomic_update)
end
end
@@ -61,6 +64,7 @@ shared_context "deploying via destdir" do
after do
Chef::Config.delete(:file_staging_uses_destdir)
Chef::Config.delete(:file_backup_path)
+ Chef::Config.delete(:file_atomic_update)
end
end