lib/devise_login_cookie/cookie.rb
# for non-Rails test environment.
for non-Rails test environment.
for non - Rails test environment .
def value
      begin
        @value = signer.decode @cookies[cookie_name]
      rescue SignedJson::Error
        [nil, nil]
      end
    end
def value begin @value = signer . decode @cookies [ cookie_name ] rescue SignedJson :: Error [ nil , nil ] end end
for non-Rails test environment.
for non - Rails test environment .