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
00d9a468
Commit
00d9a468
authored
Oct 27, 2021
by
anna_vovchenko
Committed by
Nicolò Maria Mezzopera
Oct 29, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented suggested changes
parent
b28bf503
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/helpers/clusters_helper_spec.rb
spec/helpers/clusters_helper_spec.rb
+3
-3
No files found.
spec/helpers/clusters_helper_spec.rb
View file @
00d9a468
...
...
@@ -118,15 +118,15 @@ RSpec.describe ClustersHelper do
end
it
'displays empty state help text'
do
expect
(
subject
[
:empty_state_help_text
]).
to
match
(
clusterable
.
empty_state_help_text
)
expect
(
subject
[
:empty_state_help_text
]).
to
eq
(
clusterable
.
empty_state_help_text
)
end
it
'displays create cluster using certificate path'
do
expect
(
subject
[
:new_cluster_path
]).
to
match
(
clusterable
.
new_path
(
tab:
'create'
))
expect
(
subject
[
:new_cluster_path
]).
to
eq
(
clusterable
.
new_path
(
tab:
'create'
))
end
it
'displays whether the user can add cluster'
do
expect
(
subject
[
:can_add_cluster
]).
to
match
(
clusterable
.
can_add_cluster?
.
to_s
)
expect
(
subject
[
:can_add_cluster
]).
to
eq
(
clusterable
.
can_add_cluster?
.
to_s
)
end
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