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
58ec54b6
Commit
58ec54b6
authored
Jan 30, 2020
by
Sean Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make subjects explicit
parent
eff9d44d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
spec/services/error_tracking/issue_details_service_spec.rb
spec/services/error_tracking/issue_details_service_spec.rb
+2
-0
spec/services/error_tracking/issue_latest_event_service_spec.rb
...ervices/error_tracking/issue_latest_event_service_spec.rb
+2
-0
spec/support/shared_contexts/sentry_error_tracking_shared_context.rb
...t/shared_contexts/sentry_error_tracking_shared_context.rb
+0
-2
No files found.
spec/services/error_tracking/issue_details_service_spec.rb
View file @
58ec54b6
...
...
@@ -5,6 +5,8 @@ require 'spec_helper'
describe
ErrorTracking
::
IssueDetailsService
do
include_context
'sentry error tracking context'
subject
{
described_class
.
new
(
project
,
user
)
}
describe
'#execute'
do
context
'with authorized user'
do
context
'when issue_details returns a detailed error'
do
...
...
spec/services/error_tracking/issue_latest_event_service_spec.rb
View file @
58ec54b6
...
...
@@ -5,6 +5,8 @@ require 'spec_helper'
describe
ErrorTracking
::
IssueLatestEventService
do
include_context
'sentry error tracking context'
subject
{
described_class
.
new
(
project
,
user
)
}
describe
'#execute'
do
context
'with authorized user'
do
context
'when issue_latest_event returns an error event'
do
...
...
spec/support/shared_contexts/sentry_error_tracking_shared_context.rb
View file @
58ec54b6
...
...
@@ -9,8 +9,6 @@ shared_context 'sentry error tracking context' do
let
(
:params
)
{
{}
}
let
(
:result
)
{
subject
.
execute
}
subject
{
described_class
.
new
(
project
,
user
,
params
)
}
let
(
:error_tracking_setting
)
do
create
(
:project_error_tracking_setting
,
api_url:
sentry_url
,
token:
token
,
project:
project
)
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