Sha256: 49e12011f63987919a2022a8feddc2188039ce74667f0ccaf17da53ccbf949f5
Contents?: true
Size: 401 Bytes
Versions: 3
Compression:
Stored size: 401 Bytes
Contents
require 'spec_helper' module Bullet module Notification describe UnusedEagerLoading do subject { UnusedEagerLoading.new([""], Post, [: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
3 entries across 3 versions & 1 rubygems