Sha256: 6976999c81363adca9ffe7bf66aac52b48e565d842ba98c45571ecc8f950187e

Contents?: true

Size: 335 Bytes

Versions: 22

Compression:

Stored size: 335 Bytes

Contents

# frozen_string_literal: true

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

22 entries across 22 versions & 1 rubygems

Version Path
bullet-7.0.7 spec/bullet/notification/counter_cache_spec.rb
bullet-7.0.6 spec/bullet/notification/counter_cache_spec.rb
bullet-7.0.5 spec/bullet/notification/counter_cache_spec.rb
bullet-7.0.4 spec/bullet/notification/counter_cache_spec.rb
bullet-7.0.3 spec/bullet/notification/counter_cache_spec.rb
bullet-7.0.2 spec/bullet/notification/counter_cache_spec.rb
bullet-7.0.1 spec/bullet/notification/counter_cache_spec.rb
bullet-7.0.0 spec/bullet/notification/counter_cache_spec.rb
bullet-6.1.5 spec/bullet/notification/counter_cache_spec.rb
bullet-6.1.4 spec/bullet/notification/counter_cache_spec.rb
bullet-6.1.3 spec/bullet/notification/counter_cache_spec.rb
bullet-6.1.2 spec/bullet/notification/counter_cache_spec.rb
bullet-6.1.1 spec/bullet/notification/counter_cache_spec.rb
bullet-6.1.0 spec/bullet/notification/counter_cache_spec.rb
bullet-6.0.2 spec/bullet/notification/counter_cache_spec.rb
bullet-6.0.1 spec/bullet/notification/counter_cache_spec.rb
bullet-6.0.0 spec/bullet/notification/counter_cache_spec.rb
bullet-5.9.0 spec/bullet/notification/counter_cache_spec.rb
bullet-5.8.1 spec/bullet/notification/counter_cache_spec.rb
bullet-5.8.0 spec/bullet/notification/counter_cache_spec.rb