From a9c2500a55a4d5bdb4aeab13c0167377f9841e90 Mon Sep 17 00:00:00 2001
From: Hugo Duksis <hugo.duksis@gmail.com>
Date: Tue, 20 Nov 2012 16:34:58 +0200
Subject: [PATCH] Stub for Dir.chdir as it is not needed

---
 spec/tasks/gitlab/backup_rake_spec.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/spec/tasks/gitlab/backup_rake_spec.rb b/spec/tasks/gitlab/backup_rake_spec.rb
index 62cd1135e87..d9aa0543969 100644
--- a/spec/tasks/gitlab/backup_rake_spec.rb
+++ b/spec/tasks/gitlab/backup_rake_spec.rb
@@ -22,6 +22,7 @@ describe 'gitlab:app namespace rake task' do
     context 'gitlab version' do
       before do
         Dir.stub :glob => []
+        Dir.stub :chdir
         File.stub :exists? => true
         Kernel.stub :system => true
       end
-- 
2.30.9