expect{run_rake_task('gitlab:gitaly:install')}.toraise_error/Please specify the directory where you want to install gitaly/
expect{run_rake_task('gitlab:gitaly:install')}.toraise_error/Please specify the directory where you want to install gitaly and the path for the default storage/
end
end
context'no storage path given'do
it'aborts and display a help message'do
allow($stderr).toreceive:write
expect{run_rake_task('gitlab:gitaly:install',clone_path)}.toraise_error/Please specify the directory where you want to install gitaly and the path for the default storage/
end
end
end
end
...
@@ -23,7 +33,7 @@ describe 'gitlab:gitaly namespace rake task' do
...
@@ -23,7 +33,7 @@ describe 'gitlab:gitaly namespace rake task' do