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
f4128209
Commit
f4128209
authored
Jan 21, 2020
by
Sean Arnold
Committed by
Douglas Barbosa Alexandre
Jan 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rewrite spec to be clearer
parent
3fc60058
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
app/services/error_tracking/issue_update_service.rb
app/services/error_tracking/issue_update_service.rb
+2
-0
spec/services/error_tracking/issue_update_service_spec.rb
spec/services/error_tracking/issue_update_service_spec.rb
+5
-2
No files found.
app/services/error_tracking/issue_update_service.rb
View file @
f4128209
...
...
@@ -2,6 +2,8 @@
module
ErrorTracking
class
IssueUpdateService
<
ErrorTracking
::
BaseService
include
::
Gitlab
::
Utils
::
StrongMemoize
private
def
perform
...
...
spec/services/error_tracking/issue_update_service_spec.rb
View file @
f4128209
...
...
@@ -41,11 +41,14 @@ describe ErrorTracking::IssueUpdateService do
end
it
'clears the reactive cache'
do
expect
(
error_tracking_setting
)
allow
(
error_tracking_setting
)
.
to
receive
(
:clear_cache
)
.
with
(
'list_issues'
)
result
expect
(
error_tracking_setting
)
.
to
have_received
(
:clear_cache
)
.
with
(
'list_issues'
)
end
context
'related issue and resolving'
do
...
...
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