Sha256: 9dcbc19b7e0ff675606829f617c5fd1c49d41c576d0d16a9afd3cb912d502c7a
Contents?: true
Size: 710 Bytes
Versions: 1
Compression:
Stored size: 710 Bytes
Contents
RSpec.shared_context 'normal doubles', normal_doubles: true do before :all do @partial_doubles_configuration = RSpec::Mocks.configuration.verify_partial_doubles? RSpec::Mocks.configuration.verify_partial_doubles = false end after :all do RSpec::Mocks.configuration.verify_partial_doubles = @partial_doubles_configuration end end RSpec.shared_context "verifying doubles", verifying_doubles: true do before :all do @partial_doubles_configuration = RSpec::Mocks.configuration.verify_partial_doubles? RSpec::Mocks.configuration.verify_partial_doubles = true end after :all do RSpec::Mocks.configuration.verify_partial_doubles = @partial_doubles_configuration end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec-context-doubles-0.0.1 | lib/rspec/context/doubles/doubles.rb |