Skip to content
Snippets Groups Projects
Commit b0622d65 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

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

This reverts commit 68ab7047.
parent 2b9a25bd
Branches
Tags
1 merge request!6905Handle unmatched routing with not_found method
Pipeline #
Loading
Loading
@@ -412,9 +412,10 @@ describe 'Git HTTP requests', lib: true do
 
context "when the params are anything else" do
let(:params) { { service: 'git-implode-pack' } }
before { get path, params }
 
it "fails to find a route" do
expect { get(path, params) }.to raise_error(ActionController::RoutingError)
it "redirects to the sign-in page" do
expect(response).to redirect_to(new_user_session_path)
end
end
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment