lib/specinfra/command/base/file.rb in specinfra-2.0.0.beta19 vs lib/specinfra/command/base/file.rb in specinfra-2.0.0.beta20

- old
+ new

@@ -104,7 +104,11 @@ end def change_group(file, group) "chgrp #{group} #{escape(file)}" end + + def create_as_directory(file) + "mkdir -p #{escape(file)}" + end end end