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
614c0e0b
Commit
614c0e0b
authored
Dec 16, 2017
by
Matija Čupić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update GCP feature spec with check page flow
parent
886fd13f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
86 additions
and
67 deletions
+86
-67
spec/features/projects/clusters/gcp_spec.rb
spec/features/projects/clusters/gcp_spec.rb
+86
-67
No files found.
spec/features/projects/clusters/gcp_spec.rb
View file @
614c0e0b
...
...
@@ -20,6 +20,11 @@ feature 'Gcp Cluster', :js do
.
to
receive
(
:expires_at_in_session
).
and_return
(
1
.
hour
.
since
.
to_i
.
to_s
)
end
context
'when user has a GCP project with billing enabled'
do
before
do
stub_google_project_billing_status
end
context
'when user does not have a cluster and visits cluster index page'
do
before
do
visit
project_clusters_path
(
project
)
...
...
@@ -123,6 +128,20 @@ feature 'Gcp Cluster', :js do
end
end
context
'when user does not have a GCP project with billing enabled'
do
before
do
visit
project_clusters_path
(
project
)
click_link
'Add cluster'
click_link
'Create on GKE'
end
it
'user sees a check page'
do
expect
(
page
).
to
have_link
(
'Continue'
)
end
end
end
context
'when user has not signed with Google'
do
before
do
visit
project_clusters_path
(
project
)
...
...
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