test/test_helper.rb in symmetric-encryption-3.8.3 vs test/test_helper.rb in symmetric-encryption-3.9.0

- old
+ new

@@ -1,25 +1,11 @@ -# 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 'minitest/stub_any_instance' +require 'awesome_print' 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')