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
21ce417c
Commit
21ce417c
authored
Dec 07, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix static analysys
parent
2fcc186a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
spec/models/project_spec.rb
spec/models/project_spec.rb
+10
-4
No files found.
spec/models/project_spec.rb
View file @
21ce417c
...
...
@@ -2393,13 +2393,19 @@ describe Project do
let
(
:project
)
{
create
(
:project
)
}
let!
(
:default_cluster
)
do
create
(
:cluster
,
platform_type: :kubernetes
,
projects:
[
project
],
environment_scope:
'*'
,
platform_kubernetes:
default_cluster_kubernetes
)
create
(
:cluster
,
platform_type: :kubernetes
,
projects:
[
project
],
environment_scope:
'*'
,
platform_kubernetes:
default_cluster_kubernetes
)
end
let!
(
:review_env_cluster
)
do
create
(
:cluster
,
platform_type: :kubernetes
,
projects:
[
project
],
environment_scope:
'review/*'
,
platform_kubernetes:
review_env_cluster_kubernetes
)
create
(
:cluster
,
platform_type: :kubernetes
,
projects:
[
project
],
environment_scope:
'review/*'
,
platform_kubernetes:
review_env_cluster_kubernetes
)
end
let
(
:default_cluster_kubernetes
)
{
create
(
:cluster_platform_kubernetes
,
token:
'default-AAA'
)
}
...
...
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