Sha256: 7319e209448f09736ca64a8e0169c2f0f37f6e0b70ce91db8815839156fa09d7
Contents?: true
Size: 677 Bytes
Versions: 14
Compression:
Stored size: 677 Bytes
Contents
# frozen_string_literal: true RSpec.configure do |config| config.around(:each, :verify => false) do |example| 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 end end
Version data entries
14 entries across 14 versions & 1 rubygems