Sha256: 88ca6a30dbb1b80d0b02224c2676ffa3b1dc30e868d037f315ccdd4ce334b7e6

Contents?: true

Size: 416 Bytes

Versions: 11

Compression:

Stored size: 416 Bytes

Contents

require 'spec_helper'

describe SimpleTokenAuthentication::NoAdapterAvailableError do

  it 'is a kind of LoadError', public: true do
    expect(subject).to be_kind_of LoadError
  end

  it 'provides a pointer to its most common cause', public: true do
    expect(subject.to_s).to match("adapters' dependencies")
    expect(subject.to_s).to match('Gemfile')
    expect(subject.to_s).to match('issues/158')
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
simple_token_authentication-1.18.1 spec/lib/simple_token_authentication/errors_spec.rb
simple_token_authentication-1.18.0 spec/lib/simple_token_authentication/errors_spec.rb
simple_token_authentication-1.17.0 spec/lib/simple_token_authentication/errors_spec.rb
simple_token_authentication-1.16.0 spec/lib/simple_token_authentication/errors_spec.rb
simple_token_authentication-1.15.1 spec/lib/simple_token_authentication/errors_spec.rb
simple_token_authentication-1.15.0 spec/lib/simple_token_authentication/errors_spec.rb
simple_token_authentication-1.14.0 spec/lib/simple_token_authentication/errors_spec.rb
simple_token_authentication-1.13.0 spec/lib/simple_token_authentication/errors_spec.rb
simple_token_authentication-1.12.0 spec/lib/simple_token_authentication/errors_spec.rb
simple_token_authentication-1.11.0 spec/lib/simple_token_authentication/errors_spec.rb
simple_token_authentication-1.10.1 spec/lib/simple_token_authentication/errors_spec.rb