summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/tasks/gitlab/backup_rake_spec.rb1
1 files changed, 1 insertions, 0 deletions
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