Commit ff0f7dc0 authored by Luke Duncalfe's avatar Luke Duncalfe

Merge branch 'Remove-debug-statement-from-BatchCommitLoader' into 'master'

Remove debug statement from BatchCommitLoader spec

See merge request gitlab-org/gitlab!82232
parents da8f0e99 e6d66b4d
......@@ -23,12 +23,6 @@ RSpec.describe Gitlab::Graphql::Loaders::BatchCommitLoader do
expect(result.force).to eq(first_commit)
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
expect do
[
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment