Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3315fb82
Commit
3315fb82
authored
Mar 12, 2016
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary go-get test (superseded by middleware)
parent
5a586f36
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
spec/controllers/projects_controller_spec.rb
spec/controllers/projects_controller_spec.rb
+0
-13
No files found.
spec/controllers/projects_controller_spec.rb
View file @
3315fb82
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment