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
9a290f0d
Commit
9a290f0d
authored
Apr 06, 2018
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix specs for environment terminals and rollout status
parent
1924c2c9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/models/environment_spec.rb
spec/models/environment_spec.rb
+2
-2
No files found.
spec/models/environment_spec.rb
View file @
9a290f0d
...
@@ -407,7 +407,7 @@ describe Environment do
...
@@ -407,7 +407,7 @@ describe Environment do
shared_examples
'same behavior between KubernetesService and Platform::Kubernetes'
do
shared_examples
'same behavior between KubernetesService and Platform::Kubernetes'
do
it
'returns the terminals from the deployment service'
do
it
'returns the terminals from the deployment service'
do
expect
(
project
.
deployment_platform
(
environment:
environment
)
)
expect
(
environment
.
deployment_platform
)
.
to
receive
(
:terminals
).
with
(
environment
)
.
to
receive
(
:terminals
).
with
(
environment
)
.
and_return
(
:fake_terminals
)
.
and_return
(
:fake_terminals
)
...
@@ -448,7 +448,7 @@ describe Environment do
...
@@ -448,7 +448,7 @@ describe Environment do
end
end
it
'returns the rollout status from the deployment service'
do
it
'returns the rollout status from the deployment service'
do
expect
(
project
.
deployment_platform
(
environment:
environment
)
)
expect
(
environment
.
deployment_platform
)
.
to
receive
(
:rollout_status
).
with
(
environment
)
.
to
receive
(
:rollout_status
).
with
(
environment
)
.
and_return
(
:fake_rollout_status
)
.
and_return
(
:fake_rollout_status
)
...
...
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