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
551d29a5
Commit
551d29a5
authored
Feb 14, 2018
by
Eric Eastwood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add EE specs for multiple clusters linking to list page
parent
d459b050
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
spec/ee/spec/features/show_project_spec.rb
spec/ee/spec/features/show_project_spec.rb
+31
-0
No files found.
spec/ee/spec/features/show_project_spec.rb
0 → 100644
View file @
551d29a5
require
'spec_helper'
describe
'Project show page'
,
:feature
do
describe
'stat button existence'
do
let
(
:user
)
{
create
(
:user
)
}
describe
'populated project'
do
let
(
:project
)
{
create
(
:project
,
:public
,
:repository
)
}
describe
'as a master'
do
before
do
project
.
add_master
(
user
)
sign_in
(
user
)
visit
project_path
(
project
)
end
it
'"Kubernetes cluster" button linked to clusters page'
do
create
(
:cluster
,
:provided_by_gcp
,
projects:
[
project
])
create
(
:cluster
,
:provided_by_gcp
,
projects:
[
project
])
visit
project_path
(
project
)
page
.
within
(
'.project-stats'
)
do
expect
(
page
).
to
have_link
(
'Kubernetes cluster'
,
href:
project_clusters_path
(
project
))
end
end
end
end
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