summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/support/shared/functional/file_resource.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/support/shared/functional/file_resource.rb b/spec/support/shared/functional/file_resource.rb
index 04b6e1640d..6be963d7c0 100644
--- a/spec/support/shared/functional/file_resource.rb
+++ b/spec/support/shared/functional/file_resource.rb
@@ -165,6 +165,9 @@ shared_examples_for "a file resource" do
end
context "when the target file does not exist" do
+
+ it_should_behave_like "a securable resource"
+
before do
# Assert starting state is expected
File.should_not exist(path)