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
6b1ad363
Commit
6b1ad363
authored
Dec 04, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix features/projects/clusters/user_spec.rb
parent
095b5eb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
spec/features/projects/clusters/user_spec.rb
spec/features/projects/clusters/user_spec.rb
+6
-3
No files found.
spec/features/projects/clusters/user_spec.rb
View file @
6b1ad363
...
@@ -21,14 +21,17 @@ feature 'User Cluster', :js do
...
@@ -21,14 +21,17 @@ feature 'User Cluster', :js do
context
'when user filled form with valid parameters'
do
context
'when user filled form with valid parameters'
do
before
do
before
do
fill_in
'cluster_name'
,
with:
'dev-cluster'
fill_in
'cluster_platform_kubernetes_attributes_api_url'
,
with:
'http://example.com'
fill_in
'cluster_platform_kubernetes_attributes_api_url'
,
with:
'http://example.com'
fill_in
'cluster_platform_kubernetes_attributes_token'
,
with:
'my-token'
fill_in
'cluster_platform_kubernetes_attributes_token'
,
with:
'my-token'
fill_in
'cluster_name'
,
with:
'dev-cluster'
click_button
'Add cluster'
click_button
'Add cluster'
end
end
it
'user sees a cluster details page and creation status'
do
it
'user sees a cluster details page'
do
expect
(
page
).
to
have_content
(
'Cluster was successfully created on Google Container Engine'
)
expect
(
page
).
to
have_content
(
'Enable cluster integration'
)
expect
(
page
).
to
have_content
(
'dev-cluster'
)
expect
(
page
).
to
have_content
(
'http://example.com'
)
expect
(
page
).
to
have_content
(
'my-token'
)
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