Sha256: 01fcca09a1d554b0c17fe35cd2ebfb91bd30078a583d4f77b8bfe4a5ee6a57b0

Contents?: true

Size: 262 Bytes

Versions: 1

Compression:

Stored size: 262 Bytes

Contents

RSpec.shared_examples 'a token authenticatable' do

  let(:token_authenticatable) { described_class.new() }

  it 'responds to :ensure_authentication_token', private: true do
    expect(token_authenticatable).to respond_to :ensure_authentication_token
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_token_authentication-1.9.0 spec/support/spec_for_token_authenticatable_interface.rb