Commit a9c2500a55a4d5bdb4aeab13c0167377f9841e90

Authored by Hugo Duksis
1 parent e7e1e99e

Stub for Dir.chdir as it is not needed

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
spec/tasks/gitlab/backup_rake_spec.rb
@@ -22,6 +22,7 @@ describe 'gitlab:app namespace rake task' do @@ -22,6 +22,7 @@ describe 'gitlab:app namespace rake task' do
22 context 'gitlab version' do 22 context 'gitlab version' do
23 before do 23 before do
24 Dir.stub :glob => [] 24 Dir.stub :glob => []
  25 + Dir.stub :chdir
25 File.stub :exists? => true 26 File.stub :exists? => true
26 Kernel.stub :system => true 27 Kernel.stub :system => true
27 end 28 end