Sha256: 26e32110031a5e17ca7a8cd074337a85672ad5523e7cd8dc8d466a8c64b03ef1

Contents?: true

Size: 284 Bytes

Versions: 6

Compression:

Stored size: 284 Bytes

Contents

describe Wisper::Mongoid::Publisher do
  it 'includes Wisper::Publisher' do
    klass = Class.new do
      include Mongoid::Document
      include Mongoid::Timestamps
      include Wisper::Mongoid::Publisher
    end

    expect(klass.ancestors).to include Wisper::Publisher
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fhwang-wisper-mongoid-0.3.0 spec/wisper/publisher_spec.rb
fhwang-wisper-mongoid-0.2.4 spec/wisper/publisher_spec.rb
fhwang-wisper-mongoid-0.2.3 spec/wisper/publisher_spec.rb
fhwang-wisper-mongoid-0.2.2 spec/wisper/publisher_spec.rb
fhwang-wisper-mongoid-0.2.1 spec/wisper/publisher_spec.rb
fhwang-wisper-mongoid-0.2.0 spec/wisper/publisher_spec.rb