Sha256: a43339e8d9a8e7d918e564702afe86ea9604ba3f56bdef721b8127734b823728
Contents?: true
Size: 516 Bytes
Versions: 16
Compression:
Stored size: 516 Bytes
Contents
require 'spec_helper' require 'simple_token_authentication/adapters/mongoid_adapter' describe 'SimpleTokenAuthentication::Adapters::MongoidAdapter' do before(:each) do stub_const('Mongoid', Module.new) stub_const('Mongoid::Document', double()) @subject = SimpleTokenAuthentication::Adapters::MongoidAdapter end it_behaves_like 'an adapter' describe '.base_class' do it 'is Mongoid::Document', private: true do expect(@subject.base_class).to eq Mongoid::Document end end end
Version data entries
16 entries across 16 versions & 2 rubygems