Sha256: c6597814bf073b9bbeed092d391f9b54f46baf56368ce18e3bf8afd68d5c8293

Contents?: true

Size: 286 Bytes

Versions: 8

Compression:

Stored size: 286 Bytes

Contents

require "spec_helper"

if mongo_orm == "mongoid"
  describe MongoidStore do
    describe ".session_class" do
      subject { described_class.session_class }

      it "returns mongoid session class" do
        expect(subject).to eq(described_class::Session)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
mongo_session_store-3.2.1 spec/lib/mongo_session_store/mongoid_store_spec.rb
mongo_session_store-3.2.0 spec/lib/mongo_session_store/mongoid_store_spec.rb
mongo_session_store-3.1.0 spec/lib/mongo_session_store/mongoid_store_spec.rb
mongo_session_store-3.0.0 spec/lib/mongo_session_store/mongoid_store_spec.rb
mongo_session_store-3.0.0.beta.1 spec/lib/mongo_session_store/mongoid_store_spec.rb
mongo_session_store-rails-7.0.2 spec/lib/mongo_session_store/mongoid_store_spec.rb
mongo_session_store-rails-7.0.1 spec/lib/mongo_session_store/mongoid_store_spec.rb
mongo_session_store-rails-7.0.0 spec/lib/mongo_session_store/mongoid_store_spec.rb