File: test_helper.rb

package info (click to toggle)
ruby-encryptor 3.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 200 kB
  • sloc: ruby: 450; makefile: 4
file content (30 lines) | stat: -rw-r--r-- 686 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#require 'simplecov'
#require 'simplecov-rcov'
#require "codeclimate-test-reporter"
#
#SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
#  SimpleCov::Formatter::HTMLFormatter,
#  SimpleCov::Formatter::RcovFormatter,
#  CodeClimate::TestReporter::Formatter
#]
#
#SimpleCov.start do
#  add_filter 'test'
#end
#
#CodeClimate::TestReporter.start
#
require 'minitest/autorun'
require 'minitest/unit'
require 'digest/sha2'
require 'securerandom'

$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$:.unshift(File.dirname(__FILE__))
require 'encryptor'
require 'openssl_helper'

require 'encryptor/string'
class StringWithEncryptor < String
  include Encryptor::String
end