Hush test clone warnings

warning: You appear to have cloned an empty repository.
This commit is contained in:
Joshua Peek
2011-09-27 13:49:59 -05:00
parent 985fade9f6
commit e8b3854682
+1 -1
View File
@@ -27,7 +27,7 @@ def cloned_testpath(path)
cloned = File.join(path, self.class.name) cloned = File.join(path, self.class.name)
FileUtils.rm_rf(cloned) FileUtils.rm_rf(cloned)
Dir.chdir(path) do Dir.chdir(path) do
%x{git clone #{File.basename(repo)} #{self.class.name}} %x{git clone #{File.basename(repo)} #{self.class.name} 2>/dev/null}
end end
cloned cloned
end end