Sha256: 48bcbc37fddf86ea0d49753a291cb61d1b0053a10c7df8e5ecfb0f450f2da98a

Contents?: true

Size: 724 Bytes

Versions: 3

Compression:

Stored size: 724 Bytes

Contents

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

require 'yaml'
require 'minitest/autorun'
require 'minitest/reporters'
require 'semantic_logger'
# Since we want both the AR and Mongoid extensions loaded we need to require them first
require 'active_record'
require 'symmetric-encryption'
require 'awesome_print'

Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new

SemanticLogger.add_appender('test.log', &SemanticLogger::Appender::Base.colorized_formatter)
SemanticLogger.default_level = :trace

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
symmetric-encryption-3.8.2 test/test_helper.rb
symmetric-encryption-3.8.1 test/test_helper.rb
symmetric-encryption-3.8.0 test/test_helper.rb