Whitespace!
This commit is contained in:
parent
57145483fc
commit
5f3708418a
|
@ -60,13 +60,13 @@ describe 'Git HTTP requests', lib: true do
|
||||||
before do
|
before do
|
||||||
project.update_attribute(:visibility_level, Project::PUBLIC)
|
project.update_attribute(:visibility_level, Project::PUBLIC)
|
||||||
end
|
end
|
||||||
|
|
||||||
it "responds with status 200" do
|
it "responds with status 200" do
|
||||||
download(path, env) do |response|
|
download(path, env) do |response|
|
||||||
expect(response.status).to eq(200)
|
expect(response.status).to eq(200)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'but git-upload-pack is disabled' do
|
context 'but git-upload-pack is disabled' do
|
||||||
it "responds with status 404" do
|
it "responds with status 404" do
|
||||||
allow(Gitlab.config.gitlab_shell).to receive(:upload_pack).and_return(false)
|
allow(Gitlab.config.gitlab_shell).to receive(:upload_pack).and_return(false)
|
||||||
|
|
Loading…
Reference in New Issue