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
08512410
Commit
08512410
authored
Nov 16, 2020
by
Sean Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-write spec so we can quarantine
parent
966b62d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
spec/requests/api/graphql/project/error_tracking/sentry_errors_request_spec.rb
...phql/project/error_tracking/sentry_errors_request_spec.rb
+6
-4
No files found.
spec/requests/api/graphql/project/error_tracking/sentry_errors_request_spec.rb
View file @
08512410
...
...
@@ -29,10 +29,12 @@ RSpec.describe 'sentry errors requests' do
let
(
:error_data
)
{
graphql_data
.
dig
(
'project'
,
'sentryErrors'
,
'detailedError'
)
}
it_behaves_like
'a working graphql query'
,
:quarantine
do
before
do
post_graphql
(
query
,
current_user:
current_user
)
end
it
'returns a successful response'
,
:aggregate_failures
,
:quarantine
do
post_graphql
(
query
,
current_user:
current_user
)
expect
(
response
).
to
have_gitlab_http_status
(
:success
)
expect
(
graphql_errors
).
to
be_nil
expect
(
json_response
.
keys
).
to
include
(
'data'
)
end
context
'when data is loading via reactive cache'
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