Sha256: 4f25116cbe45a3daa841b441735a5b59bbef354de136feacd2d2c38bda9229bc
Contents?: true
Size: 325 Bytes
Versions: 4
Compression:
Stored size: 325 Bytes
Contents
module GitReflow module RSpec module StubHelpers def stub_with_fallback(obj, method) original_method = obj.method(method) allow(obj).to receive(method).with(anything()) { |*args| original_method.call(*args) } return allow(obj).to receive(method) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems