Sha256: a5393d82c38b0e39d89265af6d65e2bf24fb5b9bb1fcab5b74c9b48039d21876
Contents?: true
Size: 551 Bytes
Versions: 8
Compression:
Stored size: 551 Bytes
Contents
# frozen_string_literal: true RSpec.configure do |config| %i[controller view].each do |type| config.around(:each, type: type) do |example| config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = false example.run mocks.verify_partial_doubles = true end end end config.around(:each, disable: :verify_partial_doubles) do |example| config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = false example.run mocks.verify_partial_doubles = true end end end
Version data entries
8 entries across 8 versions & 1 rubygems