We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11a8137 commit 6140db1Copy full SHA for 6140db1
tests/units/test_index_ops.rb
@@ -55,7 +55,16 @@ def test_clean
55
56
assert(File.exists?('file-to-clean'))
57
assert(File.exists?('dir_to_clean'))
58
- g.clean
+
59
+ g.clean(force:true)
60
61
+ assert(!File.exists?('file-to-clean'))
62
+ assert(File.exists?('dir_to_clean'))
63
64
+ new_file('file-to-clean', 'blablahbla')
65
66
+ g.clean(force:true, d:true)
67
68
assert(!File.exists?('file-to-clean'))
69
assert(!File.exists?('dir_to_clean'))
70
end
@@ -115,4 +124,4 @@ def test_reset
115
124
116
125
117
126
118
-end
127
+end
0 commit comments