Commit 335002d2 authored by danielsdeleo's avatar danielsdeleo

add securable tests to the create file case

IOWs, test securable behavior when the starting state is that the file
does not exist.
parent eac339b9
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment