Sha256: 43519ffaf271c7fdfc585863dc8a6118dedbee68c805ee1073ef3e9482e1d399

Contents?: true

Size: 288 Bytes

Versions: 7

Compression:

Stored size: 288 Bytes

Contents

require 'spec_helper'

describe 'RequestStore' do
  before { stub_const('RequestStore', RequestStoreTemp) }

  describe 'Mongoid::History' do
    describe '.store' do
      it 'should return RequestStore' do
        expect(Mongoid::History.store).to be_a Hash
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mongoid-history-0.8.3 spec/unit/store/request_store_spec.rb
mongoid-history-0.8.2 spec/unit/store/request_store_spec.rb
mongoid-history-0.8.1 spec/unit/store/request_store_spec.rb
mongoid-history-0.8.0 spec/unit/store/request_store_spec.rb
mongoid-history-0.7.0 spec/unit/store/request_store_spec.rb
mongoid-history-0.6.1 spec/unit/store/request_store_spec.rb
mongoid-history-0.6.0 spec/unit/store/request_store_spec.rb