Open igrep opened 9 years ago
Add feature to select which method to spy by the user.
spy_into(x).only(:hoge) x.foo spy(x).received_messages.map(&:method_name) # => []
spy_into! involves incompatible change: spy_into only spies methods specified by only. spy_into! spies all methods like exisiting spy_into
spy_into!
spy_into
only
Add feature to select which method to spy by the user.
spy_into!
involves incompatible change:spy_into
only spies methods specified byonly
.spy_into!
spies all methods like exisitingspy_into