require'spec_helper'describeGitlab::Workhorse,lib: truedolet(:project){create(:project)}let(:subject){Gitlab::Workhorse}describe"#send_git_archive"docontext"when the repository doesn't have an archive file path"dobeforedoallow(project.repository).toreceive(:archive_metadata).and_return(Hash.new)endit"raises an error"do