Commit d5c81a8d authored by Jacob Vosmaer's avatar Jacob Vosmaer

Merge pull request #7692 from mr-vinn/fix-spec-rm

Use FileUtils to delete instead of File
parents 0241efba 8ec602e6
......@@ -59,7 +59,7 @@ describe 'Gitlab::Satellite::Action' do
called = false
#set assumptions
File.rm(project.satellite.lock_file) unless !File.exists? project.satellite.lock_file
FileUtils.rm_f(project.satellite.lock_file)
File.exists?(project.satellite.lock_file).should be_false
......
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