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
e6d66b4d
Commit
e6d66b4d
authored
Mar 08, 2022
by
Kev
Committed by
Luke Duncalfe
Mar 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove debug statement from BatchCommitLoader spec
parent
74396353
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
spec/lib/gitlab/graphql/loaders/batch_commit_loader_spec.rb
spec/lib/gitlab/graphql/loaders/batch_commit_loader_spec.rb
+0
-6
No files found.
spec/lib/gitlab/graphql/loaders/batch_commit_loader_spec.rb
View file @
e6d66b4d
...
@@ -23,12 +23,6 @@ RSpec.describe Gitlab::Graphql::Loaders::BatchCommitLoader do
...
@@ -23,12 +23,6 @@ RSpec.describe Gitlab::Graphql::Loaders::BatchCommitLoader do
expect
(
result
.
force
).
to
eq
(
first_commit
)
expect
(
result
.
force
).
to
eq
(
first_commit
)
end
end
before
do
ActiveSupport
::
Notifications
.
subscribe
(
'sql.active_record'
)
do
|
event
|
raise
"no!"
if
event
.
payload
[
:sql
].
include?
(
'SELECT "namespaces".'
)
end
end
it
'only queries once'
do
it
'only queries once'
do
expect
do
expect
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