You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's possible for the `::RSpec::Mocks` constant to exist, but for it not
to have the `configuration` method present. This can happen if another
library has required some files from _within_ the `rspec/mocks` library,
but nothing else has fully loaded it.
For a concrete example, see krisleech/wisper-rspec#21
While allowing external libraries to use parts of this one might not be
something that's explicitly supported, we can avoid some unexpected
exceptions by adding a little extra check to our detection of whether or
not the mocking library is loaded.
0 commit comments