fix return value and spec

This commit is contained in:
James Lopez 2016-07-29 15:27:21 +02:00
parent 52bb564812
commit dad1d0b864

View file

@ -33,7 +33,7 @@ module Gitlab
if File.exist?(@archive_file)
yield
break
return true
else
sleep(2**retry_number)
end