Commit b0622d65 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Revert "Update git over http test to match new routing"

This reverts commit 68ab7047.
parent 2b9a25bd
...@@ -412,9 +412,10 @@ describe 'Git HTTP requests', lib: true do ...@@ -412,9 +412,10 @@ describe 'Git HTTP requests', lib: true do
context "when the params are anything else" do context "when the params are anything else" do
let(:params) { { service: 'git-implode-pack' } } let(:params) { { service: 'git-implode-pack' } }
before { get path, params }
it "fails to find a route" do it "redirects to the sign-in page" do
expect { get(path, params) }.to raise_error(ActionController::RoutingError) expect(response).to redirect_to(new_user_session_path)
end end
end end
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