Sha256: d07603a8120c8a11c2bdc6b600f2e9b4ad0ee487b0987caa6671e568e0c7a22d
Contents?: true
Size: 1005 Bytes
Versions: 1
Compression:
Stored size: 1005 Bytes
Contents
# encoding: binary require 'json' require 'coveralls' Coveralls.wear! # Run the specs prior to running the self-test $RBNACL_SELF_TEST = false require 'bundler/setup' require 'rbnacl' require 'shared/box' require 'shared/authenticator' require 'shared/key_equality' require 'shared/serializable' def vector(name) [RbNaCl::TestVectors[name]].pack("H*") end RSpec.configure do |config| config.after :all do # Run the self-test after all the specs have passed require 'rbnacl/self_test' end # Setting this config option `false` removes rspec-core's monkey patching of the # top level methods like `describe`, `shared_examples_for` and `shared_context` # on `main` and `Module`. The methods are always available through the `RSpec` # module like `RSpec.describe` regardless of this setting. # For backwards compatibility this defaults to `true`. # # https://relishapp.com/rspec/rspec-core/v/3-0/docs/configuration/global-namespace-dsl config.expose_dsl_globally = false end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rbnacl-3.1.2 | spec/spec_helper.rb |