Sha256: 59f90c57079a48e9ff5fb4a8fee2c659083de965046a8a3ab304f2ccc9f2d741

Contents?: true

Size: 249 Bytes

Versions: 18

Compression:

Stored size: 249 Bytes

Contents

RSpec.shared_examples 'an adapter' do

  it 'responds to :base_class', public: true do
    expect(@subject).to respond_to :base_class
  end

  it 'defines :base_class', public: true do
    expect { @subject.base_class }.not_to raise_error
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
simple_token_authentication-1.18.1 spec/support/spec_for_adapter.rb
simple_token_authentication-1.18.0 spec/support/spec_for_adapter.rb
simple_token_authentication-1.17.0 spec/support/spec_for_adapter.rb
simple_token_authentication-1.16.0 spec/support/spec_for_adapter.rb
simple_token_authentication-1.15.1 spec/support/spec_for_adapter.rb
simple_token_authentication-1.15.0 spec/support/spec_for_adapter.rb
simple_token_authentication-1.14.0 spec/support/spec_for_adapter.rb
simple_token_authentication-1.13.0 spec/support/spec_for_adapter.rb
simple_token_authentication-1.12.0 spec/support/spec_for_adapter.rb
simple_token_authentication-1.11.0 spec/support/spec_for_adapter.rb
simple_token_authentication-1.10.1 spec/support/spec_for_adapter.rb
simple_token_authentication-1.10.0 spec/support/spec_for_adapter.rb
simple_token_authentication-1.9.1 spec/support/spec_for_adapter.rb
simple_token_authentication-1.9.0 spec/support/spec_for_adapter.rb
simple_token_authentication-1.8.0 spec/support/spec_for_adapter.rb
stn-simple_token_authentication-1.7.1 spec/support/spec_for_adapter.rb
simple_token_authentication-1.7.0 spec/support/spec_for_adapter.rb
simple_token_authentication-1.6.0 spec/support/spec_for_adapter.rb