Sha256: bc472ce8280a9a6fcd30a720cce775554eaab01e7fb5ffa2204830a5be420b3a

Contents?: true

Size: 285 Bytes

Versions: 18

Compression:

Stored size: 285 Bytes

Contents

require 'spec_helper'

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

      its(:body) { should == "  Post => [:comments, :votes]" }
      its(:title) { should == "Need Counter Cache" }
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

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