BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
7ae4581c
Unverified
Commit
7ae4581c
authored
May 30, 2018
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor syntax for spec/models/clusters/applications/jupyter_spec.rb
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
08216d2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
jupyter_spec.rb
spec/models/clusters/applications/jupyter_spec.rb
+2
-2
No files found.
spec/models/clusters/applications/jupyter_spec.rb
View file @
7ae4581c
...
...
@@ -14,14 +14,14 @@ describe Clusters::Applications::Jupyter do
let
(
:cluster
)
{
create
(
:cluster
,
:provided_by_gcp
)
}
let
(
:jupyter
)
{
create
(
:clusters_applications_jupyter
,
cluster:
cluster
)
}
it
{
expect
(
jupyter
.
status_name
).
to
be
(
:not_installable
)
}
it
{
expect
(
jupyter
).
to
be_not_installable
}
end
context
'when ingress is installed and external_ip is assigned'
do
let
(
:ingress
)
{
create
(
:clusters_applications_ingress
,
:installed
,
external_ip:
'127.0.0.1'
)
}
let
(
:jupyter
)
{
create
(
:clusters_applications_jupyter
,
cluster:
ingress
.
cluster
)
}
it
{
expect
(
jupyter
.
status_name
).
to
be
(
:installable
)
}
it
{
expect
(
jupyter
).
to
be_installable
}
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