lib/devise_login_cookie/cookie.rb
# for non-Rails test environment.
for non-Rails test environment.
for non - Rails test environment .
def signer
      require 'signed_json'
      secret = secret_token || Rails.configuration.secret_token
      @signer ||= SignedJson::Signer.new(secret)
    end
def signer require 'signed_json' secret = secret_token || Rails . configuration . secret_token @signer ||= SignedJson :: Signer . new ( secret ) end
for non-Rails test environment.
for non - Rails test environment .