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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
1d2fe4d9
Commit
1d2fe4d9
authored
Jan 04, 2019
by
Michael Kozono
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken master api_variables test
parent
303f0493
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
spec/models/project_spec.rb
spec/models/project_spec.rb
+3
-1
No files found.
spec/models/project_spec.rb
View file @
1d2fe4d9
...
...
@@ -3534,7 +3534,9 @@ describe Project do
end
it
'contains a URL variable for every supported API version'
do
supported_versions
=
API
::
API
.
versions
.
select
do
|
version
|
# Ensure future API versions have proper variables defined. We're not doing this for v3.
supported_versions
=
API
::
API
.
versions
-
[
'v3'
]
supported_versions
=
supported_versions
.
select
do
|
version
|
API
::
API
.
routes
.
select
{
|
route
|
route
.
version
==
version
}.
many?
end
...
...
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