Sha256: c7eb62de7afe043f18fe5cd07d66428f7d8ce7386f8bf29a2a98c1c4fc909feb

Contents?: true

Size: 316 Bytes

Versions: 8

Compression:

Stored size: 316 Bytes

Contents

RSpec.shared_examples 'a sign in handler' do

  let(:sign_in_handler) { described_class.instance }

  it 'responds to :sign_in', private: true do
    expect(sign_in_handler).to respond_to :sign_in
  end

  it 'is a kind of Singleton', private: true  do
    expect(sign_in_handler).to be_kind_of(Singleton)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
simple_token_authentication-1.18.1 spec/support/spec_for_sign_in_handler_interface.rb
simple_token_authentication-1.18.0 spec/support/spec_for_sign_in_handler_interface.rb
simple_token_authentication-1.17.0 spec/support/spec_for_sign_in_handler_interface.rb
simple_token_authentication-1.16.0 spec/support/spec_for_sign_in_handler_interface.rb
simple_token_authentication-1.15.1 spec/support/spec_for_sign_in_handler_interface.rb
simple_token_authentication-1.15.0 spec/support/spec_for_sign_in_handler_interface.rb
simple_token_authentication-1.14.0 spec/support/spec_for_sign_in_handler_interface.rb
simple_token_authentication-1.13.0 spec/support/spec_for_sign_in_handler_interface.rb