3 ms·
rspec uses monkey patching for stubbing methods. Even rails libraries avoid modifying global state, but its still very much a thing.
by itake 4y ago
rspec uses monkey patching for stubbing methods. Even rails libraries avoid modifying global state, but its still very much a thing.