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
dbb284de
Commit
dbb284de
authored
Apr 26, 2019
by
Dylan Griffith
Committed by
Stan Hu
Apr 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor refactor of prometheus_spec
parent
416f3971
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
spec/models/clusters/applications/prometheus_spec.rb
spec/models/clusters/applications/prometheus_spec.rb
+2
-4
No files found.
spec/models/clusters/applications/prometheus_spec.rb
View file @
dbb284de
...
@@ -19,12 +19,10 @@ describe Clusters::Applications::Prometheus do
...
@@ -19,12 +19,10 @@ describe Clusters::Applications::Prometheus do
it
'deactivates prometheus_service after destroy'
do
it
'deactivates prometheus_service after destroy'
do
expect
do
expect
do
application
.
destroy
application
.
destroy
!
prometheus_service
.
reload
prometheus_service
.
reload
end
.
to
change
(
prometheus_service
,
:active
)
end
.
to
change
(
prometheus_service
,
:active
).
from
(
true
).
to
(
false
)
expect
(
prometheus_service
).
not_to
be_active
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