diff options
Diffstat (limited to 'test/lib/dslkeywords/directory_test.rb')
| -rw-r--r-- | test/lib/dslkeywords/directory_test.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/lib/dslkeywords/directory_test.rb b/test/lib/dslkeywords/directory_test.rb index 41229eb..9fd249f 100644 --- a/test/lib/dslkeywords/directory_test.rb +++ b/test/lib/dslkeywords/directory_test.rb @@ -36,16 +36,15 @@ class RCMDirectoryTest < Minitest::Test def test_purge_directory configure_from_scratch do - file create do + touch create do path "#{DIR_PATH}/subdir/a_file.txt" manage directory - 'some content' end directory purge do path DIR_PATH - without backup + requires touch create is purged - requires file create + without backup end end refute File.directory?(DIR_PATH) |
