Sha256: e09a202fdaefd76f255f6e7523459ade5c696b1ede08d860d81dec25a695e2c0
Contents?: true
Size: 431 Bytes
Versions: 8
Compression:
Stored size: 431 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 { expect(subject.body).to eq(" Post => [:comments, :votes]\n Remove from your finder: :includes => [:comments, :votes]") } it { expect(subject.title).to eq('AVOID eager loading in path') } end end end
Version data entries
8 entries across 8 versions & 1 rubygems