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
5cefa20a
Commit
5cefa20a
authored
Feb 21, 2018
by
Oswaldo Ferreira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make ruby-lint happy
parent
082a3235
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/presenters/project_presenter_spec.rb
spec/presenters/project_presenter_spec.rb
+2
-2
No files found.
spec/presenters/project_presenter_spec.rb
View file @
5cefa20a
...
@@ -339,8 +339,8 @@ describe ProjectPresenter do
...
@@ -339,8 +339,8 @@ describe ProjectPresenter do
it
'returns link to clusters page if more than one exists'
do
it
'returns link to clusters page if more than one exists'
do
project
.
add_master
(
user
)
project
.
add_master
(
user
)
c
luster_1
=
c
reate
(
:cluster
,
projects:
[
project
])
create
(
:cluster
,
projects:
[
project
])
c
luster_2
=
c
reate
(
:cluster
,
projects:
[
project
])
create
(
:cluster
,
projects:
[
project
])
expect
(
presenter
.
kubernetes_cluster_anchor_data
).
to
eq
(
OpenStruct
.
new
(
enabled:
true
,
expect
(
presenter
.
kubernetes_cluster_anchor_data
).
to
eq
(
OpenStruct
.
new
(
enabled:
true
,
label:
'Kubernetes clusters'
,
label:
'Kubernetes clusters'
,
...
...
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