summaryrefslogtreecommitdiff
path: root/spec/tasks
diff options
context:
space:
mode:
authorHugo Duksis <hugo.duksis@gmail.com>2012-11-20 16:34:58 +0200
committerHugo Duksis <hugo.duksis@gmail.com>2012-11-20 16:34:58 +0200
commita9c2500a55a4d5bdb4aeab13c0167377f9841e90 (patch)
tree014958130e9b3ef6b3f864914ed0dba072c04557 /spec/tasks
parente7e1e99e92cfaf6757a1e4e25260eaca1b3b33a0 (diff)
downloadgitlab-ce-a9c2500a55a4d5bdb4aeab13c0167377f9841e90.tar.gz
Stub for Dir.chdir as it is not needed
Diffstat (limited to 'spec/tasks')
-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