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-4.14.5 spec/bullet/notification/counter_cache_spec.rb
bullet_instructure-4.0.5 spec/bullet/notification/counter_cache_spec.rb
bullet-4.14.4 spec/bullet/notification/counter_cache_spec.rb
bullet-4.14.3 spec/bullet/notification/counter_cache_spec.rb
bullet-4.14.2 spec/bullet/notification/counter_cache_spec.rb
bullet-4.14.0 spec/bullet/notification/counter_cache_spec.rb
bullet-4.13.2 spec/bullet/notification/counter_cache_spec.rb
bullet-4.13.1 spec/bullet/notification/counter_cache_spec.rb
bullet_instructure-4.0.3 spec/bullet/notification/counter_cache_spec.rb
bullet-4.13.0 spec/bullet/notification/counter_cache_spec.rb
bullet-4.12.0 spec/bullet/notification/counter_cache_spec.rb
bullet_instructure-4.0.2 spec/bullet/notification/counter_cache_spec.rb
bullet-4.11.3 spec/bullet/notification/counter_cache_spec.rb
bullet-4.11.2 spec/bullet/notification/counter_cache_spec.rb
bullet-4.11.1 spec/bullet/notification/counter_cache_spec.rb
bullet-4.11.0 spec/bullet/notification/counter_cache_spec.rb
bullet-4.10.0 spec/bullet/notification/counter_cache_spec.rb
bullet-4.9.0 spec/bullet/notification/counter_cache_spec.rb
bullet-4.8.0 spec/bullet/notification/counter_cache_spec.rb