Sha256: c491d63d0122e15a15c0b29f0d0eb5eba99c1e243ad1da8a3f6b48c9661faf9e
Contents?: true
Size: 553 Bytes
Versions: 9
Compression:
Stored size: 553 Bytes
Contents
require 'spec_helper' require 'simple_token_authentication/adapters/rails_metal_adapter' describe 'SimpleTokenAuthentication::Adapters::RailsMetalAdapter' do before(:each) do stub_const('ActionController', Module.new) stub_const('ActionController::Metal', double()) @subject = SimpleTokenAuthentication::Adapters::RailsMetalAdapter end it_behaves_like 'an adapter' describe '.base_class' do it 'is ActionController::Metal', private: true do expect(@subject.base_class).to eq ActionController::Metal end end end
Version data entries
9 entries across 9 versions & 1 rubygems