Skip to content

Commit fe754a0

Browse files
authored
Use FileUtils.rm_rf instead of shell command in spec (#616)
1 parent 95327cb commit fe754a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/integration/prune_spec.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe "prune" do
3838
end
3939

4040
it "should not fail if the install directory does not exist" do
41-
run "rm -rf #{install_path}"
41+
FileUtils.rm_rf(install_path)
4242
Dir.cd(application_path) { run "shards prune" }
4343
end
4444
end

0 commit comments

Comments
 (0)