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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
dbb284de
Commit
dbb284de
authored
5 years ago
by
Dylan Griffith
Committed by
Stan Hu
5 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor refactor of prometheus_spec
parent
416f3971
Changes
1
Hide 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
it
'deactivates prometheus_service after destroy'
do
expect
do
application
.
destroy
application
.
destroy
!
prometheus_service
.
reload
end
.
to
change
(
prometheus_service
,
:active
)
expect
(
prometheus_service
).
not_to
be_active
end
.
to
change
(
prometheus_service
,
:active
).
from
(
true
).
to
(
false
)
end
end
...
...
This diff is collapsed.
Click to expand it.
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