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
55cf3595
Commit
55cf3595
authored
Jan 14, 2021
by
Alex Kalderimis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use more descriptive spec descriptions
parent
0b05212f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
spec/lib/gitlab/graphql/pagination/keyset/connection_spec.rb
spec/lib/gitlab/graphql/pagination/keyset/connection_spec.rb
+2
-1
spec/requests/api/graphql/project/merge_request_spec.rb
spec/requests/api/graphql/project/merge_request_spec.rb
+2
-1
No files found.
spec/lib/gitlab/graphql/pagination/keyset/connection_spec.rb
View file @
55cf3595
...
@@ -21,7 +21,8 @@ RSpec.describe Gitlab::Graphql::Pagination::Keyset::Connection do
...
@@ -21,7 +21,8 @@ RSpec.describe Gitlab::Graphql::Pagination::Keyset::Connection do
Gitlab
::
Json
.
parse
(
Base64Bp
.
urlsafe_decode64
(
cursor
))
Gitlab
::
Json
.
parse
(
Base64Bp
.
urlsafe_decode64
(
cursor
))
end
end
context
'regression test for #297358'
do
# see: https://gitlab.com/gitlab-org/gitlab/-/issues/297358
context
'the relation has been preloaded'
do
let
(
:projects
)
{
Project
.
all
.
preload
(
:issues
)
}
let
(
:projects
)
{
Project
.
all
.
preload
(
:issues
)
}
let
(
:nodes
)
{
projects
.
first
.
issues
}
let
(
:nodes
)
{
projects
.
first
.
issues
}
...
...
spec/requests/api/graphql/project/merge_request_spec.rb
View file @
55cf3595
...
@@ -253,7 +253,8 @@ RSpec.describe 'getting merge request information nested in a project' do
...
@@ -253,7 +253,8 @@ RSpec.describe 'getting merge request information nested in a project' do
end
end
end
end
context
'regression test for #297358'
do
# see: https://gitlab.com/gitlab-org/gitlab/-/issues/297358
context
'when the notes have been preloaded (by participants)'
do
let
(
:query
)
do
let
(
:query
)
do
<<~
GQL
<<~
GQL
query($path: ID!) {
query($path: ID!) {
...
...
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