Sha256: 6d99167bcc6f736a31b2afedc00d37860fb904181d1e0667f1c9cc7a259b4ec7

Contents?: true

Size: 305 Bytes

Versions: 39

Compression:

Stored size: 305 Bytes

Contents

require 'spec_helper'

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

      it { expect(subject.body).to eq("  Post => [:comments, :votes]") }
      it { expect(subject.title).to eq("Need Counter Cache") }
    end
  end
end

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
bullet-5.6.0 spec/bullet/notification/counter_cache_spec.rb
bullet-5.5.1 spec/bullet/notification/counter_cache_spec.rb
bullet-5.5.0 spec/bullet/notification/counter_cache_spec.rb
bullet-5.4.3 spec/bullet/notification/counter_cache_spec.rb
bullet-5.4.2 spec/bullet/notification/counter_cache_spec.rb
bullet-5.4.1 spec/bullet/notification/counter_cache_spec.rb
bullet-5.4.0 spec/bullet/notification/counter_cache_spec.rb
bullet-5.3.0 spec/bullet/notification/counter_cache_spec.rb
bullet-5.2.1 spec/bullet/notification/counter_cache_spec.rb
bullet-5.2.0 spec/bullet/notification/counter_cache_spec.rb
bullet-5.1.1 spec/bullet/notification/counter_cache_spec.rb
bullet-5.1.0 spec/bullet/notification/counter_cache_spec.rb
bullet-5.0.0 spec/bullet/notification/counter_cache_spec.rb
bullet-4.14.10 spec/bullet/notification/counter_cache_spec.rb
bullet-4.14.9 spec/bullet/notification/counter_cache_spec.rb
bullet-4.14.8 spec/bullet/notification/counter_cache_spec.rb
bullet_instructure-4.14.8 spec/bullet/notification/counter_cache_spec.rb
bullet-4.14.7 spec/bullet/notification/counter_cache_spec.rb
bullet_instructure-4.14.7 spec/bullet/notification/counter_cache_spec.rb
bullet-4.14.6 spec/bullet/notification/counter_cache_spec.rb