Sha256: 5b5a114fd97dae9cf42fce2a0c543c594df0f30b27f1478b5d1f53cf71716c48
Contents?: true
Size: 836 Bytes
Versions: 13
Compression:
Stored size: 836 Bytes
Contents
# frozen_string_literal: true RSpec.configure do |config| config.around(:each, :verify => false) do |example| config.rspeckled_logger.debug("Around Each - Start - #{__FILE__}") verify_partial = ::RSpec::Mocks.configuration.instance_variable_get(:@verify_partial_doubles) verify_constant = ::RSpec::Mocks.configuration.instance_variable_get(:@verify_doubled_constant_names) ::RSpec::Mocks.configuration.verify_partial_doubles = example.metadata[:verify] ::RSpec::Mocks.configuration.verify_doubled_constant_names = example.metadata[:verify] example.run ::RSpec::Mocks.configuration.verify_partial_doubles = verify_partial ::RSpec::Mocks.configuration.verify_doubled_constant_names = verify_constant config.rspeckled_logger.debug("Around Each - End - #{__FILE__}") end end
Version data entries
13 entries across 13 versions & 1 rubygems