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
c425ff75
Commit
c425ff75
authored
Jan 08, 2018
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix static analysys
parent
df658c7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
spec/migrations/migrate_kubernetes_service_to_new_clusters_architectures_spec.rb
..._kubernetes_service_to_new_clusters_architectures_spec.rb
+9
-9
No files found.
spec/migrations/migrate_kubernetes_service_to_new_clusters_architectures_spec.rb
View file @
c425ff75
...
@@ -91,15 +91,15 @@ describe MigrateKubernetesServiceToNewClustersArchitectures, :migration do
...
@@ -91,15 +91,15 @@ describe MigrateKubernetesServiceToNewClustersArchitectures, :migration do
let
(
:cluster
)
do
let
(
:cluster
)
do
MigrateKubernetesServiceToNewClustersArchitectures
::
Cluster
.
create!
(
MigrateKubernetesServiceToNewClustersArchitectures
::
Cluster
.
create!
(
projects:
[
project
],
projects:
[
project
],
name:
'sample-cluster'
,
name:
'sample-cluster'
,
platform_type: :kubernetes
,
platform_type: :kubernetes
,
provider_type: :user
,
provider_type: :user
,
platform_kubernetes_attributes:
{
platform_kubernetes_attributes:
{
api_url:
'https://sample.kubernetes.com'
,
api_url:
'https://sample.kubernetes.com'
,
ca_cert:
'ca_pem-sample'
,
ca_cert:
'ca_pem-sample'
,
token:
'token-sample'
token:
'token-sample'
}
)
}
)
end
end
let!
(
:kubernetes_service
)
do
let!
(
:kubernetes_service
)
do
...
...
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