Sha256: 5583540c86bf1efe492c45d86a70c0d9da1088acf8091d05145cef533a7a76c0
Contents?: true
Size: 312 Bytes
Versions: 14
Compression:
Stored size: 312 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
14 entries across 14 versions & 1 rubygems