Sha256: c23ddda17c4bf078cde054562a70c4f087e7e7ca571883a57f6f00e540341fcc
Contents?: true
Size: 465 Bytes
Versions: 14
Compression:
Stored size: 465 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' module Bullet module Notification describe UnusedEagerLoading do subject { UnusedEagerLoading.new([''], Post, %i[comments votes], 'path') } it do expect(subject.body).to eq( " Post => [:comments, :votes]\n Remove from your query: .includes([:comments, :votes])" ) end it { expect(subject.title).to eq('AVOID eager loading in path') } end end end
Version data entries
14 entries across 14 versions & 1 rubygems