Sha256: c46ad27bfdbe0f0f6ff2f9ed843bc227edad1aaeadfb33c959177750e51cb15f

Contents?: true

Size: 696 Bytes

Versions: 2

Compression:

Stored size: 696 Bytes

Contents

# Allow examples to be run in-place without requiring a gem install
$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'

require 'rubygems'
require 'semantic_logger'
require 'erb'
require 'test/unit'
# Since we want both the AR and Mongoid extensions loaded we need to require them first
require 'active_record'
require 'mongoid'
require 'symmetric-encryption'
# Should redefines Proc#bind so must include after Rails
require 'shoulda'

SemanticLogger.add_appender('test.log') if SemanticLogger.appenders.size == 0
SemanticLogger.default_level = :trace

# Load Symmetric Encryption keys
SymmetricEncryption.load!(File.join(File.dirname(__FILE__), 'config', 'symmetric-encryption.yml'), 'test')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
symmetric-encryption-3.4.0 test/test_helper.rb
symmetric-encryption-3.3 test/test_helper.rb