Sha256: 6efbeeb39a28703430000ddba7c62a0832ab58a37183920fe2350caa8889db86
Contents?: true
Size: 404 Bytes
Versions: 11
Compression:
Stored size: 404 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper.rb' module CryptoProviderTests class BCrpytTest < ActiveSupport::TestCase def test_encrypt assert Authlogic::CryptoProviders::BCrypt.encrypt("mypass") end def test_matches hash = Authlogic::CryptoProviders::BCrypt.encrypt("mypass") assert Authlogic::CryptoProviders::BCrypt.matches?(hash, "mypass") end end end
Version data entries
11 entries across 11 versions & 1 rubygems