diff options
Diffstat (limited to 'spec/lib/banzai/filter/references/alert_reference_filter_spec.rb')
-rw-r--r-- | spec/lib/banzai/filter/references/alert_reference_filter_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/banzai/filter/references/alert_reference_filter_spec.rb b/spec/lib/banzai/filter/references/alert_reference_filter_spec.rb index cba41166be4..c1fdee48f12 100644 --- a/spec/lib/banzai/filter/references/alert_reference_filter_spec.rb +++ b/spec/lib/banzai/filter/references/alert_reference_filter_spec.rb @@ -229,7 +229,7 @@ RSpec.describe Banzai::Filter::References::AlertReferenceFilter do let(:alert2_reference) { alert2.to_reference(full: true) } it 'does not have N+1 per multiple references per project', :use_sql_query_cache do - markdown = "#{alert_reference}" + markdown = alert_reference.to_s max_count = ActiveRecord::QueryRecorder.new(skip_cached: false) do reference_filter(markdown) end.count |