OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7e1e99
)
Stub for Dir.chdir as it is not needed
author
Hugo Duksis
<hugo.duksis@gmail.com>
Tue, 20 Nov 2012 14:34:58 +0000
(16:34 +0200)
committer
Hugo Duksis
<hugo.duksis@gmail.com>
Tue, 20 Nov 2012 14:34:58 +0000
(16:34 +0200)
spec/tasks/gitlab/backup_rake_spec.rb
patch
|
blob
|
history
diff --git
a/spec/tasks/gitlab/backup_rake_spec.rb
b/spec/tasks/gitlab/backup_rake_spec.rb
index
62cd113
..
d9aa054
100644
(file)
--- 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