Commit ccf5b21f authored by Jacob Vosmaer's avatar Jacob Vosmaer

Remove useless "describe"

parent aae577f9
...@@ -4,7 +4,6 @@ describe 'Git HTTP requests', lib: true do ...@@ -4,7 +4,6 @@ describe 'Git HTTP requests', lib: true do
let(:user) { create(:user) } let(:user) { create(:user) }
let(:project) { create(:project) } let(:project) { create(:project) }
describe "#call" do
context "when the project doesn't exist" do context "when the project doesn't exist" do
context "when no authentication is provided" do context "when no authentication is provided" do
it "responds with status 401" do it "responds with status 401" do
...@@ -191,8 +190,6 @@ describe 'Git HTTP requests', lib: true do ...@@ -191,8 +190,6 @@ describe 'Git HTTP requests', lib: true do
end end
end end
end end
end
def clone_get(project, options={}) def clone_get(project, options={})
get "/#{project}/info/refs", { service: 'git-upload-pack' }, auth_env(*options.values_at(:user, :password)) get "/#{project}/info/refs", { service: 'git-upload-pack' }, auth_env(*options.values_at(:user, :password))
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment