Sha256: 4700b7ebf8d2ef5f2aba3cfc2c5c5f4591d7950b6cd305788565735a172d4332
Contents?: true
Size: 415 Bytes
Versions: 3
Compression:
Stored size: 415 Bytes
Contents
require File.dirname(__FILE__) + '/test_helper' class EncryptorByDefaultTest < Test::Unit::TestCase def setup @encryptor = PluginAWeek::EncryptedStrings::Encryptor.new end def test_should_be_able_to_decrypt_by_default assert @encryptor.can_decrypt? end def test_should_raise_exception_if_decrypt_not_implemented assert_raises(NotImplementedError) {@encryptor.decrypt('test')} end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
encrypted_strings-0.1.0 | test/encryptor_test.rb |
encrypted_strings-0.0.5 | test/encryptor_test.rb |
encrypted_strings-0.1.1 | test/encryptor_test.rb |