Sha256: 857d2ae7d632807c282470e1ba2488183106031b64d6ced4ce60eaabd95048be
Contents?: true
Size: 818 Bytes
Versions: 1
Compression:
Stored size: 818 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' begin require 'active_model/serializers' rescue LoadError # Only used when running Rails 5 and MongoMapper end #Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new SemanticLogger.add_appender(file_name: 'test.log', formatter: :color) SemanticLogger.default_level = :trace # Load Symmetric Encryption keys SymmetricEncryption.load!(File.join(File.dirname(__FILE__), 'config', 'symmetric-encryption.yml'), 'test')
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
symmetric-encryption-3.8.3 | test/test_helper.rb |