Sha256: b9df4842365d0154ea83b65ce958d6dd6255adfd85a0450504b3c5160b73b08e

Contents?: true

Size: 285 Bytes

Versions: 1

Compression:

Stored size: 285 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

1 entries across 1 versions & 1 rubygems

Version Path
wisper-mongoid-0.1.0 spec/wisper/publisher_spec.rb