BigW Consortium Gitlab

Commit 8ec602e6 by Vinnie Okada

Fix invalid method in test

Use FileUtils::rm_f to delete the satellite lock file.
parent aa8c915d
......@@ -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