Sha256: fe58ce175e080c5d9856bfabce5cd7854f8741d90d6f4f476fae0f6f8269bbe1

Contents?: true

Size: 464 Bytes

Versions: 1

Compression:

Stored size: 464 Bytes

Contents

require "test_birst_command"

class Test_password < Test::Unit::TestCase

  def setup
    ENV['ENVCRYPT_KEY'] = '9Aqck/FZ0pCRkiw95VpxLw==$kxnYLOCo9qHDHHaTZM+fN73WVclDkRqO+uxSgzFzrpQ=$qoEtCm1BQWgc+WAxpotsrw=='

    @password = "mysecretpass"
    @encrypted = "MBTkxkMT8AbQupkOwtG9uQ=="
  end

  def teardown
  end

  def test_decrypt
    crypt = Envcrypt::Envcrypter.new
    assert_equal @password, crypt.decrypt(@encrypted), "Wrong decrypted password"
  end
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
Birst_Command-0.5.0 test/standard/test_password.rb