Sha256: c7f761e63c18f9135c1de78a6ce3a23023882b399a676401d1da830f2869da16

Contents?: true

Size: 375 Bytes

Versions: 18

Compression:

Stored size: 375 Bytes

Contents

require 'spec_helper'

module Bullet
  module Notification
    describe UnusedEagerLoading do
      subject { UnusedEagerLoading.new(Post, [:comments, :votes], "path") }

      its(:body) { should == "  Post => [:comments, :votes]\n  Remove from your finder: :include => [:comments, :votes]" }
      its(:title) { should == "Unused Eager Loading in path" }
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
bullet-4.7.1 spec/bullet/notification/unused_eager_loading_spec.rb
bullet-4.7.0 spec/bullet/notification/unused_eager_loading_spec.rb
bullet-4.6.0 spec/bullet/notification/unused_eager_loading_spec.rb
bullet-4.5.0 spec/bullet/notification/unused_eager_loading_spec.rb
bullet-4.4.0 spec/bullet/notification/unused_eager_loading_spec.rb
bullet-4.3.1 spec/bullet/notification/unused_eager_loading_spec.rb
bullet-4.3.0 spec/bullet/notification/unused_eager_loading_spec.rb
bullet-4.2.0 spec/bullet/notification/unused_eager_loading_spec.rb
bullet-4.1.6 spec/bullet/notification/unused_eager_loading_spec.rb
bullet-4.1.5 spec/bullet/notification/unused_eager_loading_spec.rb
bullet-4.1.4 spec/bullet/notification/unused_eager_loading_spec.rb
bullet-4.1.3 spec/bullet/notification/unused_eager_loading_spec.rb
bullet-4.1.2 spec/bullet/notification/unused_eager_loading_spec.rb
bullet-4.1.1 spec/bullet/notification/unused_eager_loading_spec.rb
bullet-4.1.0 spec/bullet/notification/unused_eager_loading_spec.rb
bullet-4.0.0 spec/bullet/notification/unused_eager_loading_spec.rb
bullet-2.3.1 spec/bullet/notification/unused_eager_loading_spec.rb
bullet-2.3.0 spec/bullet/notification/unused_eager_loading_spec.rb