Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Duksis <hugo.duksis@gmail.com>2012-11-20 18:34:58 +0400
committerHugo Duksis <hugo.duksis@gmail.com>2012-11-20 18:34:58 +0400
commita9c2500a55a4d5bdb4aeab13c0167377f9841e90 (patch)
tree014958130e9b3ef6b3f864914ed0dba072c04557 /spec/tasks/gitlab
parente7e1e99e92cfaf6757a1e4e25260eaca1b3b33a0 (diff)
Stub for Dir.chdir as it is not needed
Diffstat (limited to 'spec/tasks/gitlab')
-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