Commit e6d66b4d authored by Kev's avatar Kev Committed by Luke Duncalfe

Remove debug statement from BatchCommitLoader spec

parent 74396353
...@@ -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
[ [
......
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