Remove unnecessary go-get test (superseded by middleware)

This commit is contained in:
Stan Hu 2016-03-12 11:14:56 -08:00
parent 5a586f364c
commit 3315fb820b

View file

@ -9,19 +9,6 @@ describe ProjectsController do
describe "GET show" do
context "when requested by `go get`" do
render_views
it "renders the go-import meta tag" do
get :show, "go-get" => "1", namespace_id: "bogus_namespace", id: "bogus_project"
expect(response.body).to include("name='go-import'")
content = "localhost/bogus_namespace/bogus_project git http://localhost/bogus_namespace/bogus_project.git"
expect(response.body).to include("content='#{content}'")
end
end
context "rendering default project view" do
render_views