Sha256: 1252e2c38d78d95d8314697ccb5d9813eb5f8e66bf77d221b409fb1356d1ba72
Contents?: true
Size: 430 Bytes
Versions: 1
Compression:
Stored size: 430 Bytes
Contents
require File.join(File.dirname(__FILE__), 'test_helper') class EncryptorTest < 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
encrypted_strings-0.0.1 | test/encryptor_test.rb |