Sha256: 06bc098a67a0a8d90c6aff2a1a416bbcc1781a30f5b4f522c95bc05487045991

Contents?: true

Size: 304 Bytes

Versions: 4

Compression:

Stored size: 304 Bytes

Contents

require 'spec_helper'

module Bullet
  module Notification
    describe CounterCache do
      subject { CounterCache.new(Post, %i[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

4 entries across 4 versions & 1 rubygems

Version Path
bullet-5.7.4 spec/bullet/notification/counter_cache_spec.rb
bullet-5.7.3 spec/bullet/notification/counter_cache_spec.rb
bullet-5.7.2 spec/bullet/notification/counter_cache_spec.rb
bullet-5.7.1 spec/bullet/notification/counter_cache_spec.rb