summaryrefslogtreecommitdiff
path: root/spec/unit/resource/conditional_spec.rb
diff options
context:
space:
mode:
authorSteven Danna <steve@opscode.com>2014-12-09 13:27:21 +0000
committerBryan McLellan <btm@opscode.com>2015-02-17 08:46:37 -0500
commit9b6f1129364ab39dd272ccffd14bbc82f4c32ace (patch)
treeedf4a8534cef7b646ffc30783c0f3ae08ed6f092 /spec/unit/resource/conditional_spec.rb
parentcd7bac6dc131c958c8f6ccac6e50f2dca655dfd9 (diff)
downloadchef-9b6f1129364ab39dd272ccffd14bbc82f4c32ace.tar.gz
Implement RFC 027 File Verification
This implements usable-suppliable file content verification per RFC 027. Users can supplie a block, string, or symbol to the `verify` resource attribute. Blocks will be called, string will be executed as shell commands (respecing the same options as not_if and only_if), and symbols can be used to access built-in registered validations.
Diffstat (limited to 'spec/unit/resource/conditional_spec.rb')
-rw-r--r--spec/unit/resource/conditional_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/unit/resource/conditional_spec.rb b/spec/unit/resource/conditional_spec.rb
index 49240edfdf..489c1136b1 100644
--- a/spec/unit/resource/conditional_spec.rb
+++ b/spec/unit/resource/conditional_spec.rb
@@ -205,5 +205,4 @@ describe Chef::Resource::Conditional do
end
end
end
-
end