Sha256: c6686d6834dbd306873f6123fcf337f430bd2cc8352be26a80e49929cf3cc0fa
Contents?: true
Size: 534 Bytes
Versions: 19
Compression:
Stored size: 534 Bytes
Contents
require 'spec_helper' require 'simple_token_authentication/adapters/rails_adapter' describe 'SimpleTokenAuthentication::Adapters::RailsAdapter' do before(:each) do stub_const('ActionController', Module.new) stub_const('ActionController::Base', double()) @subject = SimpleTokenAuthentication::Adapters::RailsAdapter end it_behaves_like 'an adapter' describe '.base_class' do it 'is ActionController::Base', private: true do expect(@subject.base_class).to eq ActionController::Base end end end
Version data entries
19 entries across 19 versions & 2 rubygems