Remove unnecessary go-get test (superseded by middleware)
This commit is contained in:
parent
5a586f364c
commit
3315fb820b
1 changed files with 0 additions and 13 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue