Sha256: 2f4153b70bd3fa728717b5a44421316b0fe1ed5452c81f3d9d87b4a83b6d2377

Contents?: true

Size: 217 Bytes

Versions: 11

Compression:

Stored size: 217 Bytes

Contents

RSpec.shared_examples 'a token generator' do

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

  it 'responds to :generate_token', public: true do
    expect(token_generator).to respond_to :generate_token
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
simple_token_authentication-1.12.0 spec/support/spec_for_token_generator_interface.rb
simple_token_authentication-1.11.0 spec/support/spec_for_token_generator_interface.rb
simple_token_authentication-1.10.1 spec/support/spec_for_token_generator_interface.rb
simple_token_authentication-1.10.0 spec/support/spec_for_token_generator_interface.rb
simple_token_authentication-1.9.1 spec/support/spec_for_token_generator_interface.rb
simple_token_authentication-1.9.0 spec/support/spec_for_token_generator_interface.rb
simple_token_authentication-1.8.0 spec/support/spec_for_token_generator_interface.rb
stn-simple_token_authentication-1.7.1 spec/support/spec_for_token_generator_interface.rb
simple_token_authentication-1.7.0 spec/support/spec_for_token_generator_interface.rb
simple_token_authentication-1.6.0 spec/support/spec_for_token_generator_interface.rb
simple_token_authentication-1.5.2 spec/support/spec_for_token_generator_interface.rb