Stub for Dir.chdir as it is not needed
This commit is contained in:
parent
e7e1e99e92
commit
a9c2500a55
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue