Sha256: 6676d8d03580cdeb5e6c5317c811ddef58931fb152fef0c7f81b7085a0d98b3c
Contents?: true
Size: 647 Bytes
Versions: 19
Compression:
Stored size: 647 Bytes
Contents
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
19 entries across 19 versions & 2 rubygems