Stub for Dir.chdir as it is not needed

This commit is contained in:
Hugo Duksis 2012-11-20 16:34:58 +02:00
parent e7e1e99e92
commit a9c2500a55

View file

@ -22,6 +22,7 @@ describe 'gitlab:app namespace rake task' do
context 'gitlab version' do context 'gitlab version' do
before do before do
Dir.stub :glob => [] Dir.stub :glob => []
Dir.stub :chdir
File.stub :exists? => true File.stub :exists? => true
Kernel.stub :system => true Kernel.stub :system => true
end end