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
Boxiang Sun
gitlab-ce
Commits
17b887fa
Commit
17b887fa
authored
Nov 21, 2018
by
Amit Rathi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Rubocop linter complaints
parent
9c252758
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/models/clusters/applications/cert_manager_spec.rb
spec/models/clusters/applications/cert_manager_spec.rb
+2
-2
No files found.
spec/models/clusters/applications/cert_manager_spec.rb
View file @
17b887fa
...
@@ -20,7 +20,7 @@ describe Clusters::Applications::CertManager do
...
@@ -20,7 +20,7 @@ describe Clusters::Applications::CertManager do
end
end
describe
'#install_command'
do
describe
'#install_command'
do
let
(
:cluster_issuer_file
)
{
{
:"cluster_issuer.yaml"
=>
"---
\n
apiVersion: certmanager.k8s.io/v1alpha1
\n
kind: ClusterIssuer
\n
metadata:
\n
name: letsencrypt-prod
\n
spec:
\n
acme:
\n
server: https://acme-v02.api.letsencrypt.org/directory
\n
email: admin@example.com
\n
privateKeySecretRef:
\n
name: letsencrypt-prod
\n
http01: {}
\n
"
}
}
let
(
:cluster_issuer_file
)
{
{
"cluster_issuer.yaml"
:
"---
\n
apiVersion: certmanager.k8s.io/v1alpha1
\n
kind: ClusterIssuer
\n
metadata:
\n
name: letsencrypt-prod
\n
spec:
\n
acme:
\n
server: https://acme-v02.api.letsencrypt.org/directory
\n
email: admin@example.com
\n
privateKeySecretRef:
\n
name: letsencrypt-prod
\n
http01: {}
\n
"
}
}
subject
{
cert_manager
.
install_command
}
subject
{
cert_manager
.
install_command
}
it
{
is_expected
.
to
be_an_instance_of
(
Gitlab
::
Kubernetes
::
Helm
::
InstallCommand
)
}
it
{
is_expected
.
to
be_an_instance_of
(
Gitlab
::
Kubernetes
::
Helm
::
InstallCommand
)
}
...
...
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