Sha256: b4ed2740378558bbeb0623c4df850c856b83ddfc209917e0a3bd5bd591ff59b6
Contents?: true
Size: 290 Bytes
Versions: 5
Compression:
Stored size: 290 Bytes
Contents
# frozen_string_literal: true module RSpec module Mock module Methods def rspec_mock(&block) return unless block_given? RSpec::Mocks.with_temporary_scope do RSpec::Mock::Context.new(self).instance_eval(&block) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems